pharo
pharo copied to clipboard
Deprecation from UI could directly add the automatic transformation code
When deprecating a method using the UI of Calypso, we would improve the generated template to automatically add the transfomationWith rule.
Maybe we do not want to do that because sometimes we want to change the receiver or the order of the arguments. However, it would help to discover the transformationWith feature.
keep in mind that not every deprecation means that there is a replacement method.
e.g. there was once a version of deprecation that asked immediately for a new name. But that then was unusable when you just wanted to deprecate a method.
So this should be optional.
Indeed benoit! Do not hesitate to send a PR. The comment can mention what marcus is saying but always having to look for an example is boring. S