This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
20 lines
546 B
Text
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'
|