Inspecting a class displays incorrect values.
| Project: | GNU Smalltalk |
| Component: | Base classes |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Something weird has happend since the instance var order on Behavior was changed. I've tried to dig into this but haven't found anything useful yet.
Example:
st> Object subclass: Foo [ method [ ^ self ] ]
st> Foo inspect
An instance of Foo class
superclass: Object
subClasses: MethodDictionary (
#method->Foo>>method
)
methodDictionary: 0
instanceSpec: nil
instanceVariables: ()
name: #Foo
comment: nil
category: nil
environment: Smalltalk
classVariables: BindingDictionary (
)
sharedPools: ()
securityPolicy: nil
pragmaHandlers: nil
Foo
Updates
| Status: | active | » fixed |
fixed in commit 8cb0641aaabd8ac80f72099ffabd3461aeda5a9d, thanks!
there was another place in kernel/Autoload.st which was harmless but could also cause misleading inspect results.
