lean4-htt/tests/lean/holes.lean
Leonardo de Moura 6f1975aef5 feat: report errors for unassigned metavariables
We were not reporting unassigned metavariables due to
1- `_`
2- Named holes (e.g., `?x`)
3- Implicit arguments
2020-08-27 15:03:41 -07:00

11 lines
150 B
Text
Raw 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.

new_frontend
def f (x : Nat) : Nat :=
id (_ x)
def g {α β : Type} (a : α) : α :=
a
def f3 (x : Nat) : Nat :=
let y := g x + g x;
y + _ + ?hole