lean2/tests/lean/errmsg1.lean.expected.out
Leonardo de Moura 55aa4cbfa3 feat(frontends/lean): improve error message for expressions containing unsolved metavariables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-13 13:21:44 -08:00

13 lines
644 B
Text

Set: pp::colors
Set: pp::unicode
λ x : ?M::0, x
λ x : ?M::0, x
errmsg1.lean:4:10: error: invalid expression, it still contains metavariables after elaboration
λ x : ?M::0, x
errmsg1.lean:4:10: error: unsolved metavar M::0
errmsg1.lean:5:11: error: failed to synthesize metavar M::0, it could not be synthesized by type inference and its type is not a proposition
λ (A : Type) (x : A), ?M::0
errmsg1.lean:6:3: error: unsolved metavar M::0
errmsg1.lean:8:0: error: invalid definition, type still contains metavariables after elaboration
∀ x : ?M::3, @eq ?M::3 x x
errmsg1.lean:8:34: error: unsolved metavar M::3