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
Gabriel Ebner
a67a5080e9
chore: fix tests after hash change
2022-12-01 20:18:14 -08:00
Leonardo de Moura
5a151ca64c
chore: fix tests
2022-11-30 17:52:37 -08:00
Leonardo de Moura
8649483b41
feat: produces an error if the declaration body contains a universe parameter that does not occur in the declaration type nor is explicitly provided
...
closes #898
2022-06-02 19:43:09 -07:00
Leonardo de Moura
57b8912279
chore: fix tests
2022-01-10 14:33:02 -08:00
Leonardo de Moura
ff90459fd2
feat: add Lean.Elab.Term.getMVarErrorInfo?
2021-12-09 06:48:06 -08:00
Sebastian Ullrich
4a4b4c1ef4
fix: mkAtomFrom: generate synthetic position like other *From functions
...
Also consistently use binders as reference position for an elided binder type.
Before, type errors were always given extent 1, the length of the
synthetic `_` token.
2021-07-19 13:24:59 -07:00
Leonardo de Moura
be4cf605fd
feat: improve error message
...
closes #331
2021-03-05 13:42:54 -08:00
Sebastian Ullrich
b2b78eb222
test: use printMessageEndPos for leantests
2021-01-15 16:27:59 +01:00
Leonardo de Moura
36008271ea
feat: ensure no unassigned metavariables in the declaration header when type is explicitly provided
2021-01-11 16:40:14 -08:00
Leonardo de Moura
0af30273c5
feat: hide auxiliary metavariables used to compile let-rec
2020-10-30 14:58:17 -07:00
Leonardo de Moura
0fe705f3a1
feat: improve error messages for unassigned metavariables
...
cc @Kha
2020-09-29 17:18:03 -07:00