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.
12 lines
357 B
Text
12 lines
357 B
Text
evalNone.lean:1:6-1:10: error: don't know how to synthesize implicit argument 'α'
|
||
@none ?m
|
||
context:
|
||
⊢ Type ?u
|
||
evalNone.lean:3:6-3:14: error: don't know how to synthesize implicit argument 'α'
|
||
@List.head? ?m []
|
||
context:
|
||
⊢ Type ?u
|
||
evalNone.lean:3:6-3:8: error: don't know how to synthesize implicit argument 'α'
|
||
@List.nil ?m
|
||
context:
|
||
⊢ Type ?u
|