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.
8 lines
220 B
Text
8 lines
220 B
Text
jason2.lean:4:30-4:37: error: don't know how to synthesize implicit argument 'x'
|
|
@Foo.foo ?m
|
|
context:
|
|
⊢ Nat
|
|
jason2.lean:4:20-4:23: error: don't know how to synthesize implicit argument 'x'
|
|
@Foo ?m
|
|
context:
|
|
⊢ Nat
|