chore(library/init/lean/elaborator/basic): improve cryptic error message
This commit is contained in:
parent
a7f18cff12
commit
b5d4e0a2fd
1 changed files with 2 additions and 2 deletions
|
|
@ -264,8 +264,8 @@ stx.ifNode
|
|||
let k := n.getKind;
|
||||
match tables.find k with
|
||||
| some elab => elab n
|
||||
| none => logError stx ("command elaborator failed, no support for syntax '" ++ toString k ++ "'"))
|
||||
(fun _ => logErrorUsingCmdPos ("command elaborator failed, unexpected syntax"))
|
||||
| none => logError stx ("command '" ++ toString k ++ "' has not been implemented"))
|
||||
(fun _ => logErrorUsingCmdPos ("unexpected command"))
|
||||
|
||||
structure FrontendState :=
|
||||
(elabState : ElabState)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue