cmp: with-compiler-env: handle COMPILER-INTERNAL-ERROR first

We've handled COMPILER-ERROR before COMPILER-INTERNAL-ERROR, but the latter is
a subclass of the former, so it was never triggered.
This commit is contained in:
Daniel Kochmański 2023-11-10 14:37:29 +01:00
parent 3f2f935411
commit af3d3a00c8

View file

@ -70,8 +70,8 @@
(restart-case
(handler-bind ((compiler-note #'handle-compiler-note)
(warning #'handle-compiler-warning)
(compiler-error #'handle-compiler-error)
(compiler-internal-error #'handle-compiler-internal-error)
(compiler-error #'handle-compiler-error)
(serious-condition #'handle-compiler-internal-error))
(mp:with-lock (mp:+load-compile-lock+)
(let ,+init-env-form+