This PR improves the type-as-hole error message. Type-as-hole error for theorem declarations should not admit the possibility of omitting the type entirely. --------- Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
9 lines
713 B
Text
9 lines
713 B
Text
multiConstantError.lean:1:11-1:12: error: failed to infer binder type
|
||
|
||
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 binder type
|
||
|
||
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 binder type
|
||
|
||
Note: Recall that you cannot declare multiple constants in a single declaration. The identifier(s) `α`, `β` are being interpreted as parameters `(α : _)`, `(β : _)`.
|