1 Dec 2006 01:13
bug (?) when using macro lambda list keywords in defun
Berki Lukacs Tamas <blt <at> sch.bme.hu>
2006-12-01 00:13:11 GMT
2006-12-01 00:13:11 GMT
The following form:
(defun foo (&whole whole) 42)
Yields this answer on SBCL 0.9.14 and 1.0 (on Ubuntu 6.10 without SLIME,
simple using the CLI):
debugger invoked on a SB-INT:BUG in thread #<THREAD "initial thread"
{A8154E9}>:
unknown LAMBDA-LIST-KEYWORD in lambda list: &WHOLE. This is probably a
bug in SBCL itself. (Alternatively, SBCL might have been corrupted by bad
user code, e.g. by an undefined Lisp operation like (FMAKUNBOUND
'COMPILE), or by stray pointers from alien code or from unsafe Lisp code;
or there might be a bug in the OS or hardware that SBCL is running on.) If
it seems to be a bug in SBCL itself, the maintainers would like to know
about it. Bug reports are welcome on the SBCL mailing lists, which you can
find at <http://sbcl.sourceforge.net/>.
The result is the same with &environment, although any other symbol
beginning with & works.
Lukács
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)
RSS Feed