lean4-htt/tests/lean/namedHoles.lean.expected.out
jrr6 e9a318df16
fix: reorder "application type mismatch" message (#9287)
This PR rewords the "application type mismatch" error message so that
the argument and its type precede the application expression.
2025-07-15 19:20:18 +00:00

19 lines
561 B
Text

namedHoles.lean:9:12-9:14: error: Application type mismatch: The last
?x
argument has type
Nat
but is expected to have type
Bool
in the application
f ?x ?x
f ?x sorry : Nat
g ?x ?x : Nat
20
foo (fun x => ?hole) ?hole : Nat
bla ?hole fun x => ?hole : Nat
namedHoles.lean:35:38-35:43: error: synthetic hole has already been defined with an incompatible local context
boo (fun x => ?hole) fun y => sorry : Nat
11
12
namedHoles.lean:58:26-58:31: error: synthetic hole has already been defined and assigned to value incompatible with the current context
y