lean4-htt/tests/lean/run/4768.lean
Eric Wieser b74f85accd
fix: do not ban .. with a . on the next line (#4768)
Without this change,
```lean
example : True := by
  refine' trivial ..
  . trivial
```
is a parse error.
2024-09-17 09:57:35 +00:00

10 lines
273 B
Text

/-!
Test that `..` tokens do not break nearby `.`s.
Note that this tests specifically for issues with `.` that are not present with `·`.
-/
example : True ∧ True := by
constructor
refine trivial ..
. trivial -- this has to be . not · for this test to be useful