Sorry, finger trouble there.
I have a refactoring as follows:

OR2CmdLintCommand subclass: #OR2CmdRefresh
        instanceVariableNames: ''
        classVariableNames: ''
        poolDictionaries: ''
        category: 'OB-Refactory-Lint'

methods:
#execute
#isEnabled etc

becomes:

OR2CmdLintCommand subclass: #OR2CmdRefresh
        uses: TGBCmdRefresh
        instanceVariableNames: ''
        classVariableNames: ''
        poolDictionaries: ''
        category: 'OBO2Merge'

methods: none

TGBCmdRefresh (trait)

methods:
#execute
#isEnabled etc

When I save to a Monticello repo, and import to a new image, TGBCmdRefresh
still has the original methods. They are not in the class in the repository,
when browsing that repository. Is this expected behaviour? Is it because of
the change of package (and perhaps Issue 1760:  Monticello enhancement: avoid
removing a method when it does not belong to package anymore)?

How do I get the new version to import without the old methods?

Thanks,   ...Stan
-- 
View this message in context: 
http://n2.nabble.com/Monticello-remove-methods-tp4433742p4433808.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

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

Reply via email to