Manuscript (Case [Issue]22311) Kernel - Add a condition for deprecation transforms

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

Manuscript (Case [Issue]22311) Kernel - Add a condition for deprecation transforms

Pharo Issue Tracker
Manuscript Notification
avatar
Damien Pollet opened Case 22311: Add a condition for deprecation transforms and assigned it to Everyone:
Enhancement in Project:  Kernel: 1. Pharo Image  •  You are subscribed to this case
(copied from the list)
I have a double-dispatch chain:
x generic: y → y firstDispatch: x → x secondDispatchFromY: y

However this has been added after the fact, so there are direct uses of the secondDispatchFromY: layer, which I'd like to deprecate/rewrite to use the generic: one. But if I do so, the intermediate firstDispatch: gets rewritten in the process, and this results in an infinite recursion.

The associated PR introduces Object >> deprecated:transformWith:when: and similar methods, which will only apply the transformation in contexts that match the condition block.
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

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