From: Matthew D. S. <ako...@gm...> - 2008-10-29 17:32:31
|
Matthew D. Swank <akopa.gmane.poster <at> gmail.com> writes: > > Found while cross compiling sbcl; this seems like a bug: > > (compile '(flet ((foo (x) x))(declare (ignorable #'foo)) 3)) > => > COMPILE: #1=(FLET ((FOO # X)) (DECLARE (IGNORABLE #'FOO)) 3) is not a function > name; try using a symbol instead > [Condition of type SYSTEM::SIMPLE-SOURCE-PROGRAM-ERROR] > > Restarts: > 0: [USE-VALUE] Input a value to be used instead. > 1: [RETRY] Retry SLIME REPL evaluation request. > 2: [ABORT] Return to SLIME's top level. > 3: [CLOSE-CONNECTION] Close SLIME connection > 4: [ABORT] Abort main loop sorry, this is the correct form: (compile 'baz '(lambda () (flet ((foo (x) x))(declare (ignorable #'foo)) 3))) WARNING in BAZ : Non-symbol #'FOO may not be declared IGNORABLE. BAZ 1 1 CL-USER> Matt |