Hi Using the idea we got with Peter Uhnak, we know implemented using transformation library of gustavo two new transformation: - deprecate class just compile a new method raising a warning: + a class method deprecated returning true (this could then improve to rename the method new if it already exist). - rename and deprecate: the idea here is that we want to make sure that we can rename a class and that external users get a chance to load and execute their code. For that if we have a class A we rename it into ANewName and create an empty subclass A that we deprecate. Let us know what you think. Stef and Gustavo
Sounds good! On Fri, Sep 2, 2016 at 8:11 AM, stepharo <stepharo@free.fr> wrote:
Hi
Using the idea we got with Peter Uhnak, we know implemented using transformation library of gustavo two new transformation:
- deprecate class
just compile a new method raising a warning:
+ a class method deprecated returning true (this could then improve to rename the method new if it already exist).
- rename and deprecate:
the idea here is that we want to make sure that we can rename a class and that external users get a chance to load and execute their code. For that if we have a class A we rename it into ANewName and create an empty subclass A that we deprecate.
Let us know what you think.
Stef and Gustavo
Excellent! How can I try it? Doru
On Sep 2, 2016, at 10:31 AM, Nicolas Passerini <npasserini@gmail.com> wrote:
Sounds good!
On Fri, Sep 2, 2016 at 8:11 AM, stepharo <stepharo@free.fr> wrote: Hi
Using the idea we got with Peter Uhnak, we know implemented using transformation library of gustavo two new transformation:
- deprecate class
just compile a new method raising a warning:
+ a class method deprecated returning true (this could then improve to rename the method new if it already exist).
- rename and deprecate:
the idea here is that we want to make sure that we can rename a class and that external users get a chance to load and execute their code. For that if we have a class A we rename it into ANewName and create an empty subclass A that we deprecate.
Let us know what you think.
Stef and Gustavo
-- www.tudorgirba.com www.feenk.com "Sometimes the best solution is not the best solution."
Gofer it smalltalkhubUser: 'GustavoSantos' project: 'Refactoring2'; configurationOf: 'Refactoring2'; loadDevelopment. then RBRenameAndDeprecateClassTransformation is the class you need On Fri, Sep 2, 2016 at 12:41 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
2016-09-02 11:35 GMT+02:00 Tudor Girba <tudor@tudorgirba.com>:
Excellent!
How can I try it?
+100 and same question
-- Gustavo Santos http://gustavojss.github.io/
Make sure to have the latest version of Refactoring-Core, because we fixed a bug on it yesterday On Fri, Sep 2, 2016 at 1:32 PM, Gustavo Santos <gugajansen@gmail.com> wrote:
Gofer it smalltalkhubUser: 'GustavoSantos' project: 'Refactoring2'; configurationOf: 'Refactoring2'; loadDevelopment.
then RBRenameAndDeprecateClassTransformation is the class you need
On Fri, Sep 2, 2016 at 12:41 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
2016-09-02 11:35 GMT+02:00 Tudor Girba <tudor@tudorgirba.com>:
Excellent!
How can I try it?
+100 and same question
-- Gustavo Santos http://gustavojss.github.io/
-- Gustavo Santos http://gustavojss.github.io/
Gustavo The fix is now in Pharo 60 :) Stef Le 2/9/16 à 13:35, Gustavo Santos a écrit :
Make sure to have the latest version of Refactoring-Core, because we fixed a bug on it yesterday
On Fri, Sep 2, 2016 at 1:32 PM, Gustavo Santos <gugajansen@gmail.com <mailto:gugajansen@gmail.com>> wrote:
Gofer it smalltalkhubUser: 'GustavoSantos' project: 'Refactoring2'; configurationOf: 'Refactoring2'; loadDevelopment.
then RBRenameAndDeprecateClassTransformation is the class you need
On Fri, Sep 2, 2016 at 12:41 PM, Denis Kudriashov <dionisiydk@gmail.com <mailto:dionisiydk@gmail.com>> wrote:
2016-09-02 11:35 GMT+02:00 Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>>:
Excellent!
How can I try it?
+100 and same question
-- Gustavo Santos http://gustavojss.github.io/
-- Gustavo Santos http://gustavojss.github.io/
participants (5)
-
Denis Kudriashov -
Gustavo Santos -
Nicolas Passerini -
stepharo -
Tudor Girba