+1 for self-scarring

2013/4/12 Camille Teruel <camille.ter...@gmail.com>

> 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
>
>
>

Reply via email to