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

23 lines
309 B
Text

structure C where
f1 : Nat
f2 : Bool
b1 : String
structure D extends C where
f3 : Bool
def f (c : D) : IO Unit :=
visit c
where
visit (c : D) : IO Unit :=
let x := c.
--^ completion
abbrev E := D
def E.doubleF1 (e : E) :=
e.f1 + e.f1
def g (e : E) :=
e.
--^ completion