lean4-htt/tests/lean/defaultInstance.lean.expected.out
Leonardo de Moura 975271e1a3 feat: hide inaccessible names and add pp.inaccessibleNames
@Kha We will probably have to refine the heuristic for hiding the
inaccessible names, but the first version is already useful.
Here is the error message for a `_` before this commit
```
error: don't know how to synthesize placeholder
context:
x✝⁴ : List Nat
x✝³ : Nat
x✝² : x✝⁴ ≠ []
a b x✝¹ : Nat
x✝ : [a, b] ≠ []
⊢ Nat
```
After
```
error: don't know how to synthesize placeholder
a b : Nat
 : [a, b] ≠ []
⊢ Nat
```
2020-11-25 17:22:09 -08:00

16 lines
568 B
Text

defaultInstance.lean:20:20: error: failed to synthesize instance
Foo Bool (?m x)
defaultInstance.lean:20:20: error: don't know how to synthesize implicit argument
@f … ?m ?m …
context:
x : Bool
⊢ Type
defaultInstance.lean:20:17: error: failed to infer definition type
defaultInstance.lean:22:35: error: failed to create type class instance for
Foo Bool (?m x)
defaultInstance.lean:22:35: error: don't know how to synthesize implicit argument
@f … ?m ?m …
context:
x : Bool
⊢ Type
defaultInstance.lean:22:32: error: failed to infer definition type