22 lines
385 B
Text
22 lines
385 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
|
||
|
||
def g1 (s : S) : Nat × Nat :=
|
||
(s. )
|
||
--^ textDocument/completion
|
||
|
||
def g2 (s : S) : Nat × Nat :=
|
||
(s.
|
||
--^ textDocument/completion
|
||
|
||
def g3 (s : S) : Nat × Nat :=
|
||
(s. , 1, 2)
|
||
--^ textDocument/completion
|