augment-environment generating improper signals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Using the environments API from SB-CLTL2, an improper style-warning is generated for the following form:
* (augment-
STYLE-WARNING: IGNORE declaration for an unknown variable: FOO
#S(SB-KERNEL:LEXENV ...)
A similar result occurs for function declarations.
The results are much worse for a NOTINLINE declaration:
* (augment-
debugger invoked on a UNBOUND-VARIABLE:
The variable SB-C:*FREE-FUNS* is unbound.
Perhaps this should be a seperate bug, but it appears to be related: the environments API seems not to be hooked up in the right sort of way to the code in ir1tran.lisp that's generating these signals.
This is on SBCL 1.0.47.9.
description: | updated |
IMO we should really implement an environment API in the core, and export it from SB-EXT -- and make SB-CLTL2 a wrapper around it providing CLTL2 compatibility in case we end up with a diffent take.