Yes.
Doru
On 11 Apr 2012, at 18:23, Fabrizio Perin wrote:
Hi, the method ensureClassesAndNamespaces Invoke "parentScope:" on a class.
ensureClassesAndNamespaces <menuItem: 'Ensure Classes and Namespaces' category: 'Utilities'>
self allMethods do: [ :each | each parentType isNil ifTrue: [ each parentType: self unknownFAMIXClass ] ]. self allClasses do: [ :each | each parentScope isNil ifTrue: [ each parentScope: self unknownFAMIXNamespace ] ]
Now FAMIXType contains the method "parentScope" implemented as:
parentScope "Polymorphic alias to mimic GlobalVariable#parentScope and similar"
^ self container
I believe that in the method ensureClassesAndNamespaces we should use the method "container:" instead of "parentScope:"
What do you think?
Cheers, Fabrizio _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow."