lean4-htt/tests/lean/interactive/completion3.lean
2021-04-05 18:38:57 -07:00

10 lines
168 B
Text

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
--^ textDocument/completion
foo s