How To Push Up methods - its always greyed out?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How To Push Up methods - its always greyed out?

TimM-3
How do you push up a method? It always seems grayed out in the refactoring
menu to me?

eg.

A class
 - B class
     - myMethod (class method)


I should be able to push up to A shouldn't I?


Reply | Threaded
Open this post in threaded view
|

Re: How To Push Up methods - its always greyed out?

Andy Bower-3
Tim,

> How do you push up a method? It always seems grayed out in the
> refactoring menu to me?
>
> eg.
>
> A class
>  - B class
>      - myMethod (class method)
>
>
> I should be able to push up to A shouldn't I?

Yes, well spotted. It seems that the commands sent by the menus are
missing an "s", i.e. they send #pushUpMethod and the correct command is
#pushUpMethods. I've recorded this as #2031 and we'll fix it in the
first patch. We'll get the patch out early next week.

Thanks for the report.

Best regards,

--
Andy Bower
Dolphin Support
www.object-arts.com