diff --git a/hy/core/bootstrap.hy b/hy/core/bootstrap.hy index 69fbfbb..007d92b 100644 --- a/hy/core/bootstrap.hy +++ b/hy/core/bootstrap.hy @@ -25,12 +25,10 @@ ;;; These macros are the essential hy macros. ;;; They are automatically required everywhere, even inside hy.core modules. -(import [hy.compiler [HyTypeError]]) - (defmacro macro-error [location reason] "error out properly within a macro" - `(raise (HyTypeError ~location ~reason))) + `(raise (hy.compiler.HyTypeError ~location ~reason))) (defmacro defmacro-alias [names lambda-list &rest body]