@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 ```
16 lines
568 B
Text
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
|