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
451 B
Text
12 lines
451 B
Text
argNameAtPlaceholderError.lean:8:15-8:16: error: don't know how to synthesize placeholder for argument 'catchExPostpone'
|
|
context:
|
|
stx : Syntax
|
|
⊢ Bool
|
|
argNameAtPlaceholderError.lean:8:13-8:14: error: don't know how to synthesize placeholder for argument 'expectedType?'
|
|
context:
|
|
stx : Syntax
|
|
⊢ Option Expr
|
|
argNameAtPlaceholderError.lean:8:11-8:12: error: don't know how to synthesize placeholder for argument 'stx'
|
|
context:
|
|
stx : Syntax
|
|
⊢ Syntax
|