On 7 août 2014, at 16:32, Sean P. DeNigris <[email protected]> wrote:

> Sean P. DeNigris wrote
>> How do you activate it?
> 
> Oh, okay. I guess from looking at the tests that the new pragma is
> <deprecatedIn:replaceWith:>
> 
> Next problem ;)...
> 
> I see that you've omitted the RB `@ syntax. While easier to type, I don't
> like that it's more magical -

It's because I don't want users to have to know RB pattern syntax and also 
because I plan to not depend on the rewriter in future versions.

> what is the list of string tokens that are
> meaningful?

The available metavariables are:
receiver: the receiver expression of the sending message node  
arg1, ..., arg15: the arguments expression of the sending message node

> Also, now the following now fails to compile with an "Unbounded
> variable" error
> preferencesGeneralFolder
>       <deprecatedIn: 'Pharo 3.0' replaceWith: 'StartupPreferencesLoader
> preferencesGeneralFolder'>

I look at it now :)

> But this capability is /very/ exciting!! Thanks :)
> 
> 
> 
> -----
> Cheers,
> Sean
> --
> View this message in context: 
> http://forum.world.st/Deprecator-tp4769843p4772316.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
> 


Reply via email to