Recompiling DEFPACKAGE should allow for simply taking new definition
Bug #891351 reported by
Peter Seibel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Various changes to the definition of a package in a DEFPACKAGE form can not be achieved without deleting the package or carefully undoing things "by hand". It would be nice to have a restart when recompiling a DEFPACKAGE that just says, "Take the new definition as gospel".
SBCL 1.0.53
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/nikodemus/ SBCL/tree/ wip-defpackage- variance
is my work-in-progress branch. It currently breaks the contrib build as it detects variances in imports that we didn't care about before.
You can hotpatch an existing SBCL by C-c C-c'ing the DEFINE-CONDITION PACKAGE- VARIANCE- ERROR and the DEFUN UPDATE- PACKAGE- WITH-VARIANCE to try it out.
Please let me know if this is what you had in mind.