This PR improves the message and range of infer binder type failures. --------- Co-authored-by: Joseph Rotella <7482866+jrr6@users.noreply.github.com>
9 lines
735 B
Text
9 lines
735 B
Text
multiConstantError.lean:1:11-1:12: error: Failed to infer type of binder `c`
|
||
|
||
Note: Recall that you cannot declare multiple constants in a single declaration. The identifier(s) `b`, `c` are being interpreted as parameters `(b : _)`, `(c : _)`.
|
||
multiConstantError.lean:1:9-1:10: error: Failed to infer type of binder `b`
|
||
|
||
Note: Recall that you cannot declare multiple constants in a single declaration. The identifier(s) `b`, `c` are being interpreted as parameters `(b : _)`, `(c : _)`.
|
||
multiConstantError.lean:3:9-3:10: error: Failed to infer type of binder `α`
|
||
|
||
Note: Recall that you cannot declare multiple constants in a single declaration. The identifier(s) `α`, `β` are being interpreted as parameters `(α : _)`, `(β : _)`.
|