lean4-htt/tests/lean/interactive/completionPrv.lean
Leonardo de Moura e6e12ca408 fix: fixes #408
2021-04-22 19:07:03 -07:00

27 lines
390 B
Text

private def blaBlaBoo := 2
#check blaB
--^ textDocument/completion
namespace Foo
private def booBoo := 3
#check booB
--^ textDocument/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
--^ textDocument/completion
def tst2 (s : S) : Nat :=
s.
--^ textDocument/completion