|
From: SourceForge.net <no...@so...> - 2006-09-27 16:59:45
|
Bugs item #1566466, was opened at 2006-09-27 12:43 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1566466&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: lisp error >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Sam Steingold (sds) Assigned to: Sam Steingold (sds) Summary: assoc error when combining compiled and interpreted code Initial Comment: when non-canonicalized OPTIMIZE declarations in interpreted code are combined with compiled code, an ASSOC error is signaled: [1]> (let (bad) (declare (optimize safety)) (dolist (tp '(arithmetic-error) bad) (unless (typep (handler-case (make-condition tp) (error () nil)) 'condition) (push tp bad)))) *** - ASSOC: SAFETY is not a list The following restarts are available: ABORT :R1 ABORT Break 1 [2]> here handler-case is compiled due to (declare (compile)) in its macroexpansion. the solution is not to use ASSOC in sys::declared-optimize ---------------------------------------------------------------------- Comment By: Sam Steingold (sds) Date: 2006-09-27 12:59 Message: Logged In: YES user_id=5735 thank you for your bug report. the bug has been fixed in the CVS tree. you can either wait for the next release (recommended) or check out the current CVS tree (see http://clisp.cons.org) and build CLISP from the sources (be advised that between releases the CVS tree is very unstable and may not even build on your platform). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1566466&group_id=1355 |