As described at issue #1760, the new error message is: ``` 1760.lean:6:18: error: type mismatch at application f x term x has type big_type : Type 1 but is expected to have type ?m_1 : Type ```
7 lines
122 B
Text
7 lines
122 B
Text
section
|
|
parameter big_type : Type 1
|
|
parameter x : big_type
|
|
parameter f {A : Type} : A → bool
|
|
|
|
def foo : bool := f x
|
|
end
|