|
copy now raises an error. (see below).
This is not good as it should be possible to copy classes. e.g. see method #startUsingOverlayForDevelopment
copy
self error: 'You should not copy a class.'.
"If you want to copy a class just to check the differences before a change, as done in the announcements, use #copyForAnnouncement.
Copying a class should be done using #duplicateClassWithNewName:
Any other copy operation should be used using the class builder and class installer.
They guarantee that the state of the system is consistent."
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|