mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
13 lines
364 B
Lean4
13 lines
364 B
Lean4
-- Regression test for a bug where the dangling dot was not accounted for in some
|
|
-- atomic completions, which lead to invalid completions after a dangling dot
|
|
|
|
def foo : Unit :=
|
|
x. -- No completions expected
|
|
--^ completion
|
|
|
|
def bar : Array Nat := Id.run do
|
|
let mut x := sorry
|
|
let foo := x. -- No completions expected
|
|
--^ completion
|
|
sorry
|