On 01/22/2011 04:52 PM, Stefan Schmiedl wrote:

>> When you try to use FileStream fileIn: 'Source' you will need to
>> manually set the right namespace.
> 
> which I should be able to do by providing some wrapper.

Yes, it is possible to manually set the namespace... i normally don't do it.

> 

> What happens to instances of classes defined in package MyMod during
> removeFeature? Are they kept around and migrated somehow to the new structure
> when that is loading?

st> Smalltalk class decompile: #removeFeature:
'removeFeature: aFeature [
        "Remove the aFeature feature to the Features set"

        <category: ''special accessing''>
        Features class == Set ifFalse: [Features := Features asSet].
        Features remove: aFeature ifAbsent: []
    ]'

For our concern here it is just a Set that is used by the PackageLoader to
decide if it needs to load something or not.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to