[bug] Inspecting a class displays incorrect values.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] Inspecting a class displays incorrect values.

Sam Phillips
Issue status update for
http://smalltalk.gnu.org/node/232
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/232

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  sdp
 Updated by:   sdp
 Status:       active

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





_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Inspecting a class displays incorrect values.

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/232
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/232

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  sdp
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

fixed in commit 8cb0641aaabd8ac80f72099ffabd3461aeda5a9d, thanks!

there was another place in kernel/Autoload.st which was harmless but
could also cause misleading inspect results.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk