lean4-htt/tests/server_interactive/completion3.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

22 lines
333 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

structure S where
x : Nat
y : String
b : Bool
def f (s : S) : Nat :=
let rec foo (s : S) :=
if s. then 1 else 2
--^ completion
foo s
def g1 (s : S) : Nat × Nat :=
(s. )
--^ completion
def g2 (s : S) : Nat × Nat :=
(s.
--^ completion
def g3 (s : S) : Nat × Nat :=
(s. , 1, 2)
--^ completion