Fix one of two bugs regarding handler-bind and interpreted code.
commit4e9514b21bdca135d4b312fbda27c0a8caeb8e1e
authorDouglas Katzman <dougk@google.com>
Mon, 19 Oct 2015 10:05:41 +0000 (19 06:05 -0400)
committerDouglas Katzman <dougk@google.com>
Mon, 19 Oct 2015 10:05:41 +0000 (19 06:05 -0400)
treee316cd9841da3f9bb0ddf415a0d749b58d1154a1
parentcdc0fe48f1da169ba1653fb23512950a5a2b63a7
Fix one of two bugs regarding handler-bind and interpreted code.

Re-ordering the pieces of the expansion of DEFUN is one fix.

The other is as yet unfixable: a HANDLER-BIND with (SATISFIES PRED)
as its condition test expands to a reference to #'PRED to signal a
style-warning if PRED is not defined at compile-time, causing the
interpreter to actually need the definition of PRED at expansion time.
I would hope nobody needs this to "work"
src/code/defboot.lisp
tests/eval.impure.lisp