lean4-htt/tests/lean/331.lean.expected.out
Sebastian Ullrich caf815b009
feat: improve infer binder type failure message and range (#8263)
This PR improves the message and range of infer binder type failures.

---------

Co-authored-by: Joseph Rotella <7482866+jrr6@users.noreply.github.com>
2025-07-14 20:19:11 +00:00

6 lines
446 B
Text

331.lean:6:9-6:10: error: Failed to infer type of binder `x`
Note: When the resulting type of a declaration is explicitly provided, all holes (e.g., `_`) in the header are resolved before the declaration body is processed
331.lean:7:9-7:10: error: Failed to infer type of binder `x`
Note: When the resulting type of a declaration is explicitly provided, all holes (e.g., `_`) in the header are resolved before the declaration body is processed