Accessors not recompiled
Bug #1182204 reported by
Ph. Marek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Triaged
|
Low
|
Unassigned |
Bug Description
I've got a DEFTYPE, and use this in a class.
Changing the DEFTYPE later on and recompiling everything (either via swank compile-and-load, or via ASDF) isn't sufficient - the old accessor functions/methods are still used, so the type checking is wrong.
Attached is a small testcase; the DEFTYPEs have to be un-commented, though.
To post a comment you must log in.
I'm not really sure what the code you're showing should do, but SBCL doesn't do any type-checking for slots with safety 1.