DEFUN + DEFINE-CONDITION = attempt to dump reference to obsolete class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to C-c C-c the following form in slime:
(defun test () (define-condition foo () ()))
produces:
Execution of a form compiled with errors.
Form:
(SB-IMPL::%DEFUN 'FOO
Compile-time error:
attempt to dump reference to obsolete class: #<SB-KERNEL:
[Condition of type SB-INT:
Restarts:
0: [ABORT] Abort compilation.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT] abort thread (#<THREAD "worker" RUNNING {1004DCBE33}>)
Backtrace:
0: (SB-FASL:
1: (SB-FASL:
2: ((FLET SB-FASL::THUNK :IN LOAD))
3: (SB-FASL:
4: ((FLET SB-FASL:
5: (LOAD #P"/tmp/
6: ((FLET SWANK/BACKEND:
7: ((FLET SWANK/BACKEND:
8: ((LAMBDA NIL :IN SWANK:COMPILE-
9: ((LAMBDA NIL :IN SWANK::
--more--
This function is compiled and seems to work normally in the REPL.
description: | updated |
summary: |
- DEFINE-CONDITION + SETF FIND-CLASS NIL = attempt to dump reference to - obsolete class + DEFUN + DEFINE-CONDITION = attempt to dump reference to obsolete class |
description: | updated |
Looks like a duplicate of https:/ /bugs.launchpad .net/sbcl/ +bug/1368764