Hi,
I am currently moving my application from pharo2 to pharo3. I am asking myself if there is an easy way to find all deprecated methods I used in my app. The only way I see currently is to use the app and testing for walkbacks and run the test cases. How did others manage this? Sabine |
Hello Sabine, I have a set of smalllint rules I have created by mining code history between Pharo 2.0 and 3.0.
Note however they do not cover all deprecated methods and classes.
If you want to give a try, just load them (using the code below), and run the rules using the Critic Browser to find the violations and the replacement **suggestion**. Gofer new
package: 'Rules-Pharo30';
load. The is also this report for a fast overview of the changes (note that some may be false positives): hope that it helps, Andre Hora On Thu, Jan 16, 2014 at 12:21 PM, Sabine Knöfel <[hidden email]> wrote: Hi, Andre Hora |
Hi Andre, thanks, I used it and it worked fine but as you said - several methods are not covered. Sabine
On Thu, Jan 16, 2014 at 2:02 PM, Andre Hora [via Smalltalk] <[hidden email]> wrote:
|
btw, maybe it would be good for the opening screen of the Pharo 3 release to link to a tutorial on how to run those Deprecated-Rules-only on a package. cheers -ben Sabine Knöfel wrote:
|
Free forum by Nabble | Edit this page |