April 12, 2013
9:48 a.m.
On 12 avr. 2013, at 10:07, Stéphane Ducasse wrote:
Hi guys
I would love to have a transformation that take a method and generate the body to deprecate itâ¦ie
foo: aPoint
body
=>
foo: aPoint
self deprecated: 'use xxx' on: 'date' in: #Pharo2.0
body
so that we deprecate better method.
Any takers?
Me. I wanted something fancier: when you deprecate a method you attach a transformation rule so that when a deprecated method is executed, the deprecated warning can also propose to rewrite the sender.
Stef