1.0.28.39: more error reporting tweakery
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 11 May 2009 19:41:48 +0000 (19:41 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 11 May 2009 19:41:48 +0000 (19:41 +0000)
commit4da7c01c1cd31a730308f1e610cf636569109aeb
tree4e429e1c36bec91c30fbec2c21f4bad68440f316
parent9837343101c3da7b3a8f94609ec116ec5025436a
1.0.28.39: more error reporting tweakery

 * Now that *CURRENT-PATH* is bound first by PROCESS-TOPLEVEL-FORM
   make FIND-ERROR-CONTEXT prefer NODE-SOURCE-PATH *CURRENT-PATH* --
   otherwise the more accurate source path in the node is never used.

   (Experimentally it seems that *CURRENT-PATH* is never more
   accurate.)

   Everything seems OK, but the whole source path mechanism could
   probably us an audit, and possibly some refactoring.

 * ADD-TEST-CONSTRAINTS should bind *COMPILER-ERROR-CONTEXT* around
   the call to SPECIALIZER-TYPE in case of undefined types. (Left out
   from last patch by accident.)
src/compiler/constraint.lisp
src/compiler/ir1report.lisp
version.lisp-expr