Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LisaAlmarode opened this issue Dec 14, 2022 · 1 comment
Assignees

Comments

@LisaAlmarode
Copy link
Member

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
Copy link
Member

ericwinger commented Jan 10, 2023

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 GemTalk/Rowan#885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants