There no reason against constants to be type classes so it is just the check in `addClass` that is needed to be modified. Closes #1054
2 lines
258 B
Text
2 lines
258 B
Text
class_def_must_fail.lean:2:13-2:16: error: invalid 'class', declaration 'Foo' must be inductive datatype, structure, or constant
|
|
class_def_must_fail.lean:7:18-7:21: error: invalid 'class', declaration 'Bla' must be inductive datatype, structure, or constant
|