Unwanted style-warning when slot symbol-names collide
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When any effective slots of a defined class have the same symbol names, a style warning is currently emitted. As discussed on IRC, myself and a few others agree this conflicts with the idea of modularity; in order for a user to muffle this warning, they must know of implementation details of the library in question, because most of the time, that is exactly what slots should be treated as, with the user-facing API employed with accessors. The warning is especially common with mixin class creating usages of the metaobject protocol, such as "stealth-mixin" and "dynamic-mixins" (quicklisp-
Krystof thinks it's possible that such a warning should only be emitted when the name being inherited is part of a public API (i.e. exported from some package).
description: | updated |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Please try the attached and see if it works for you? Thanks for the report!