Manuscript (Case [Issue]22464) Kernel - copying classes should be possible

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22464) Kernel - copying classes should be possible

Pharo Issue Tracker
Manuscript Notification
avatar
Marcus Denker opened Case 22464: copying classes should be possible and assigned it to Everyone:
Bug in Project:  Kernel: 1. Pharo Image  •  You are subscribed to this case
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 Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker