make-condition undumpable after define-condition at non-toplevel
Bug #1368764 reported by
Christophe Rhodes
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
file-compiling a file containing the following
(prog1
(
(defun zz ()
(make-condition 'foo :y 3))
yields an error
; caught ERROR:
; attempt to dump reference to obsolete class: #<SB-KERNEL:
it should, however, simply compile the make-condition as if no class named FOO has yet been seen.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is preventing me from writing test cases that define conditions, unless I resort to really ugly hacks like calling EVAL or COMPILE on raw Lisp forms during the test instead of compiling the test case ahead of time and dumping it into file.