On Thu, May 13, 2010 at 7:18 PM, Lukas Renggli <[email protected]> wrote:
> > Now, playing a little with RB I found a deprecated method send:
> >
> > hasSpecialSelector: aSymbol ifTrueSetByte:
> >
> > You are using it in:
> >
> > RBClass >> existingMethodsThatReferTo:
> >
> > here:
> >
> > special := self realClass environment
> > hasSpecialSelector: aSymbol
> > ifTrueSetByte: [ :value | byte := value ].
> >
> > the thing is that self realClass environment answer SystemDirectory but
> we
> > should use Smalltalk / SmalltalkImage
>
> You must be using a very old version of Refactoring-Core, this was
> fixed quite some time ago.
>
Thanks Lukas. Yes, indeed I have a problem with my confs...
Now I saw a new package: AST-Semantic
Which are the dependecies of that package?
and who depends on it ?
So far I had:
package: 'AST-Core';
package: 'AST-Tests-Core' with: [ spec requires: 'AST-Core' ];
package: 'Refactoring-Core' with: [ spec requires: 'AST-Core' ];
package: 'Refactoring-Tests-Core' with: [ spec requires:
'Refactoring-Core' ];
package: 'Refactoring-Spelling' with: [
spec requires: 'Refactoring-Core'.
spec postLoadDoIt: #postLoadRBSpelling ];
package: 'Refactoring-Tests-Spelling' with: [ spec requires:
'Refactoring-Spelling'. ].
>
> > In addition, is there a way to automatically check all the sends of
> > deprecated methods? because there may be a lot...I just tried a Class
> Rename
> > refactor and I found this one, but I am sure there are more..
>
> SmallLint finds some of them, but the rule should probably be improved.
>
> Also running the tests can show you problems (given that the code is
> all covered).
>
> As I said, we fixed all the deprecated calls in Seaside 3.0, OB, RB,
> eCompletion, Shout and PetitParser you just need to take the very
> latest Pharo 1.1 and the very latest code of each package.
>
Ok..perfect. Thanks!
Mariano
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project