This attribute, which was implemented in #3640, is applied to the following structures: `Sigma`, `PSigma`, `PProd`, `And`, `Subtype`, and `Fin`. These were given this attribute in Lean 3.
16 lines
304 B
Text
16 lines
304 B
Text
243.lean:2:10-2:14: error: application type mismatch
|
|
⟨Bool, true⟩
|
|
argument
|
|
true
|
|
has type
|
|
_root_.Bool : Type
|
|
but is expected to have type
|
|
Bool : Type
|
|
243.lean:13:7-13:8: error: application type mismatch
|
|
⟨A, a⟩
|
|
argument
|
|
a
|
|
has type
|
|
Foo.A : Type
|
|
but is expected to have type
|
|
A : Type
|