lean4-htt/tests/lean/nameArgErrorIssue.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

20 lines
546 B
Text

bla 5 2 : Nat
nameArgErrorIssue.lean:5:20-5:24: error: Application type mismatch: The argument
"hi"
has type
String
but is expected to have type
Nat
in the application
bla "hi"
bla sorry 5 : Nat
nameArgErrorIssue.lean:6:20-6:24: error: Application type mismatch: The argument
"hi"
has type
String
but is expected to have type
Nat
in the application
bla "hi"
nameArgErrorIssue.lean:6:11-6:19: error: invalid argument name 'z' for function 'bla'
nameArgErrorIssue.lean:7:11-7:19: error: invalid argument name 'z' for function 'bla'