Skip to content

Calypso: Warn when compiling dangerous methods #18190

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

Open
jecisc opened this issue May 22, 2025 · 0 comments
Open

Calypso: Warn when compiling dangerous methods #18190

jecisc opened this issue May 22, 2025 · 0 comments

Comments

@jecisc
Copy link
Member

jecisc commented May 22, 2025

Today I blew up an image with an intern because we added a #name method in the class side, which messed up with everything asking for the name of the class concerned.

Calypso should warn about that when compiling some methods such as #name on the class side, or #isNil or #class on instance or class side. (The list should be bigger but here are some examples)

Refactorings also need to be aware of those so we should put the list somewhere for both Calypso and Refactorings to refer to.

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

1 participant