When loading a class, " class" is still tacked at the end of it

Project:GNU Smalltalk
Component:VisualGST
Category:bug
Priority:normal
Assigned:MrGwen
Status:fixed
Description

1. Print-it:

PackageLoader fileInPackage: 'SUnit'.

2. Choose TestCase from the class list

3. Print-it:

(PackageLoader packageAt: 'SUnit') test fileIn

4. Expand TestCase and see the result

Updates

#1 submitted by Paolo Bonzini on Thu, 09/17/2009 - 00:02
Priority:minor» normal

Furthermore, opening the SUnit browser and clicking the Smalltalk namespace gives an "instanceClass not understood" exception.

#2 submitted by Paolo Bonzini on Thu, 09/17/2009 - 00:05

Using #instanceClass is almost always wrong, just use #asClass or #asMetaclass.

#3 submitted by Gwenael Casaccio on Thu, 09/17/2009 - 08:09
Assigned to:Unassigned» MrGwen
Status:active» committed

fixed in the revision 217 but please do not integrate it now.

#4 submitted by Paolo Bonzini on Sat, 09/19/2009 - 15:30

integrated now. Please move the various occurrences of each, ' ' to GtkClassModel>>#buildClassArray:

#5 submitted by Paolo Bonzini on Sat, 09/19/2009 - 15:30
Status:committed» fixed

User login