lean4-htt/tests/lean/autoPPExplicit.lean.expected.out
Markus Himmel 1db53b39c4
chore: improve application type mismatch error message (#8264)
This PR rewords the `application type mismatch` error message by more
specifically mentioning that the problem is with the final argument.
This is useful when the same argument is passed to the function multiple
times.

We decided against using a wording which specifically mentions the
"function expression", because users who are not used to currying might
not think of the `f a` in `f a b` as a function.
2025-05-08 15:34:40 +00:00

8 lines
205 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.

autoPPExplicit.lean:2:26-2:31: error: Application type mismatch: In the appplication
@Eq.trans α a (b = c)
the final argument
b = c
has type
Prop : Type
but is expected to have type
α : Sort u_1