X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1report.lisp;h=25a7f57ee65578ba63300e615994dddc6b4e9a26;hb=95591ed483dbb8c0846c129953acac1554f28809;hp=72f0fa2bc474f1445840f44d56a1e9fa49d3a61c;hpb=9837343101c3da7b3a8f94609ec116ec5025436a;p=sbcl.git diff --git a/src/compiler/ir1report.lisp b/src/compiler/ir1report.lisp index 72f0fa2..25a7f57 100644 --- a/src/compiler/ir1report.lisp +++ b/src/compiler/ir1report.lisp @@ -182,10 +182,8 @@ (let ((context *compiler-error-context*)) (if (compiler-error-context-p context) (values context t) - (let* ((path (or (and (boundp '*current-path*) *current-path*) - (if context - (node-source-path context) - nil))) + (let* ((path (or (and (node-p context) (node-source-path context)) + (and (boundp '*current-path*) *current-path*))) (old (find (when path (source-path-original-source path)) (remove-if #'null old-contexts)