Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-21 Thread Alistair Grant
Hi Marcus, On 21 November 2017 at 11:18, Marcus Denker wrote: > >> >> Thanks! >> >> #ifNotNilDo: was deprecated in Pharo 6, and the method was removed >> completely in Pharo 7. >> >> The easiest thing to do is to port #ifNotNilDo: forward to Pharo 7 so >> that the methods are automatically re-wri

Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-21 Thread Marcus Denker
> > Thanks! > > #ifNotNilDo: was deprecated in Pharo 6, and the method was removed > completely in Pharo 7. > > The easiest thing to do is to port #ifNotNilDo: forward to Pharo 7 so > that the methods are automatically re-written. > Yes, this would be best. we never deprecated ifNotNilDo: be

Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-14 Thread Henrik Sperre Johansen
Stephane Ducasse-3 wrote > I wonder if we packaged somewhere the removed deprecated method. > We should do that but since we do it manually I guess that this is ad-hoc. > > Stef > > On Sun, Nov 12, 2017 at 2:45 PM, Alistair Grant < > akgrant0710@ > > wrote: >> Hi Stef, >> >> On 12 November 2017

Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-12 Thread Stephane Ducasse
I wonder if we packaged somewhere the removed deprecated method. We should do that but since we do it manually I guess that this is ad-hoc. Stef On Sun, Nov 12, 2017 at 2:45 PM, Alistair Grant wrote: > Hi Stef, > > On 12 November 2017 at 14:34, Stephane Ducasse > wrote: >> Hi alistair >> >> >>

Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-12 Thread Alistair Grant
Hi Stef, On 12 November 2017 at 14:34, Stephane Ducasse wrote: > Hi alistair > > > If you run your program the code will be automatically transformed (I > cannot check the deprecation definitino right now) > > Else have a look at tests of the ParseTreeRewriter. > > Stef > > On Sun, Nov 12, 2017 a

Re: [Pharo-users] RBRuleIfNotNilDo usage

2017-11-12 Thread Stephane Ducasse
Hi alistair If you run your program the code will be automatically transformed (I cannot check the deprecation definitino right now) Else have a look at tests of the ParseTreeRewriter. Stef On Sun, Nov 12, 2017 at 2:12 PM, Alistair Grant wrote: > Hi Everyone, > > I'm loading some code in to P