1.0.28.39: more error reporting tweakery
[sbcl.git] / src / compiler / constraint.lisp
index 3718a3b..5a4c627 100644 (file)
                              (ok-lvar-lambda-var (first args) constraints)
                              (if (ctype-p val)
                                  val
-                                 (specifier-type val))
+                                 (let ((*compiler-error-context* use))
+                                   (specifier-type val)))
                              nil)))))
                  ((eq eql)
                   (let* ((arg1 (first args))