lean4-htt/tests/lean/653.lean.expected.out
jrr6 7ed716f904
feat: improve projection and field-notation errors (#8986)
This PR improves the error messages produced by invalid projections and
field notation. It also adds a hint to the "function expected" error
message noting the argument to which the term is being applied, which
can be helpful for debugging spurious "function expected" messages
actually caused by syntax errors.

---------

Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
2025-06-26 18:36:47 +00:00

7 lines
178 B
Text

653.lean:4:14-4:32: error: Function expected at
{ }
but this term has type
Color ?m ?m ?m
Note: Expected a function because this term is being applied to the argument
255