Status: Accepted
Owner:
[hidden email]
Labels: Milestone-1.4
New issue 4899 by
[hidden email]: Using a Pool var in a subclass of
a pool user does not refer to the pool when an existing class with the same
name exit
http://code.google.com/p/pharo/issues/detail?id=4899I have a sharedPool
SharedPool subclass: #CZPool
instanceVariableNames: ''
classVariableNames: 'Author BookTitle Chapter Editor Institution Journal
Note Number Pages Publisher RequiredFields School Series Title Volume Year
uthor'
poolDictionaries: ''
category: 'Citezen-Model'
And a user
Object subclass: #Flop
instanceVariableNames: 'key value'
classVariableNames: ''
poolDictionaries: 'CZPool'
category: 'Citezen-Model'
If I have
Flop class>> foo
^ Author
it will return the SharedPool value.
Now if I define the method in a subclass
Flop class>> foo
^ Author
return the Author global class
The fileout contain a nice setup and tests
Attachments:
Flop.st 2.1 KB
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker