chore: improve "no elaborator" error message

This commit is contained in:
Sebastian Ullrich 2021-02-17 11:52:22 +01:00
parent 1a7535263e
commit 010338cb18

View file

@ -909,7 +909,7 @@ private def elabUsingElabFns (stx : Syntax) (expectedType? : Option Expr) (catch
let k := stx.getKind
match table.find? k with
| some elabFns => elabUsingElabFnsAux s stx expectedType? catchExPostpone elabFns
| none => throwError! "elaboration function for '{k}' has not been implemented"
| none => throwError! "elaboration function for '{k}' has not been implemented{indentD stx}"
instance : MonadMacroAdapter TermElabM where
getCurrMacroScope := getCurrMacroScope