When an implicit argument cannot be inferred, the error should show the
name of the argument.
Showing the argument name in the error message for an uninstantiated
metavariable was introduced in da33f498f5,
but this implementation causes some argument names to get lost.
11 lines
330 B
Text
11 lines
330 B
Text
c.someRight : Option Nat
|
||
evalWithMVar.lean:13:6-13:21: error: don't know how to synthesize implicit argument 'α'
|
||
@Sum.someRight ?m Nat c
|
||
context:
|
||
⊢ Type ?u
|
||
evalWithMVar.lean:13:20-13:21: error: don't know how to synthesize implicit argument 'α'
|
||
@c ?m
|
||
context:
|
||
⊢ Type ?u
|
||
c.someRight : Option Nat
|
||
c.someRight : Option Nat
|