GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

[3.2.13] drag a method to a *package category, create extension method, in Rowan-convention repository #991

Open LisaAlmarode opened 1 year ago

LisaAlmarode commented 1 year ago

As I understand, in a repository with Rowan package convention, methods in category named packageName are not created as extension methods in the package packageName. A leading is just a meaningless character in a Rowan-convention method category name.

However, if you create the method in am ordinary non category, and create a packageName category, then drag the method to the * category, it is transformed into an extension method.

If I create a method directly in the category I get a warning (asking me to press proceed and only providing a yes button, grumble), and does not create an extension method.

image

ericwinger commented 1 year ago

The warning message from the compilation of a method in an *'d category and creating extension methods therein comes from Rowan. The problem seems to be that rwMoveMethod: should also throw the warning message and not create an extension method. Will open a Rowan issue for investigation.

See https://github.com/GemTalk/Rowan/issues/885