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