Issue 4899 in pharo: 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

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

Issue 4899 in pharo: 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

pharo
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=4899

I 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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4899 in pharo: 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

pharo
Updates:
        Status: FixToInclude

Comment #1 on 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=4899

(No comment was entered for this change.)

Attachments:
        BindingOf.1.cs  1.6 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4899 in pharo: 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

pharo
Updates:
        Status: Closed

Comment #2 on 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=4899

in 14194/14195


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker