lean4-htt/tests/server_interactive/completionPrv.lean
Garmelon a3cb39eac9
chore: migrate more tests to new test suite (#12809)
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.
2026-03-06 16:52:01 +00:00

27 lines
470 B
Text

private def longAndHopefullyUniqueBlaBlaBoo := 2
#check longAndHopefullyUniqueBlaB
--^ completion
namespace Foo
private def longAndHopefullyUniqueBooBoo := 3
#check longAndHopefullyUniqueBooB
--^ completion
end Foo
structure S where
field1 : Nat
private def S.getInc (s : S) : Nat :=
s.field1 + 1
def tst1 (s : S) : Nat :=
s.g
--^ completion
def tst2 (s : S) : Nat :=
s.
--^ completion