The Trunk: System-cmm.588.mcz

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

The Trunk: System-cmm.588.mcz

commits-2
Chris Muller uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-cmm.588.mcz

==================== Summary ====================

Name: System-cmm.588
Author: cmm
Time: 5 September 2013, 4:07:58.158 pm
UUID: 62aa5f16-061e-4e35-a7c9-cd0156c3fe42
Ancestors: System-nice.587

Show stores into class-vars from class-side methods, not just instance-side.

=============== Diff against System-nice.587 ===============

Item was changed:
  ----- Method: SystemNavigation>>browseAllStoresInto:from: (in category 'browse') -----
  browseAllStoresInto: varName from: aClass
  "Create and schedule a Message Set browser for all the receiver's methods
  or any methods of a subclass/superclass that refer to the instance variable name."
  "self new browseAllStoresInto: 'contents' from: Collection."
  ^ self
+ browseMessageList: (self allStoresInto: varName from: aClass), (self allStoresInto: varName from: aClass class)
- browseMessageList: (self allStoresInto: varName from: aClass)
  name: 'Stores into ' , varName
  autoSelect: varName!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: System-cmm.588.mcz

Nicolas Cellier
What? isn't it for instance variables?
If yes, then aClass and aClass class might have an instance variable with same name, but these are two different things...


2013/9/5 <[hidden email]>
Chris Muller uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-cmm.588.mcz

==================== Summary ====================

Name: System-cmm.588
Author: cmm
Time: 5 September 2013, 4:07:58.158 pm
UUID: 62aa5f16-061e-4e35-a7c9-cd0156c3fe42
Ancestors: System-nice.587

Show stores into class-vars from class-side methods, not just instance-side.

=============== Diff against System-nice.587 ===============

Item was changed:
  ----- Method: SystemNavigation>>browseAllStoresInto:from: (in category 'browse') -----
  browseAllStoresInto: varName from: aClass
        "Create and schedule a Message Set browser for all the receiver's methods
        or any methods of a subclass/superclass that refer to the instance variable name."
        "self new browseAllStoresInto: 'contents' from: Collection."
        ^ self
+               browseMessageList: (self allStoresInto: varName from: aClass), (self allStoresInto: varName from: aClass class)
-               browseMessageList: (self allStoresInto: varName from: aClass)
                name: 'Stores into ' , varName
                autoSelect: varName!





Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: System-cmm.588.mcz

Bert Freudenberg

On 2013-09-05, at 23:40, Nicolas Cellier <[hidden email]> wrote:

What? isn't it for instance variables?

No, the comment appears to be misleading, it's used for class vars, too.

- Bert -

If yes, then aClass and aClass class might have an instance variable with same name, but these are two different things...


2013/9/5 <[hidden email]>
Chris Muller uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-cmm.588.mcz

==================== Summary ====================

Name: System-cmm.588
Author: cmm
Time: 5 September 2013, 4:07:58.158 pm
UUID: 62aa5f16-061e-4e35-a7c9-cd0156c3fe42
Ancestors: System-nice.587

Show stores into class-vars from class-side methods, not just instance-side.

=============== Diff against System-nice.587 ===============

Item was changed:
  ----- Method: SystemNavigation>>browseAllStoresInto:from: (in category 'browse') -----
  browseAllStoresInto: varName from: aClass
        "Create and schedule a Message Set browser for all the receiver's methods
        or any methods of a subclass/superclass that refer to the instance variable name."
        "self new browseAllStoresInto: 'contents' from: Collection."
        ^ self
+               browseMessageList: (self allStoresInto: varName from: aClass), (self allStoresInto: varName from: aClass class)
-               browseMessageList: (self allStoresInto: varName from: aClass)
                name: 'Stores into ' , varName
                autoSelect: varName!