lean4-htt/tests/lean/evalNone.lean.expected.out
JovanGerb c96797eb93
fix: show argument name in implicit argument error (#4426)
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.
2024-06-14 18:08:42 +00:00

12 lines
357 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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