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

Passing undefined to catspeak_method and then calling the result, causes a mess with scopes! #133

Open
tabularelf opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working high priority Important

Comments

@tabularelf
Copy link
Contributor

What version of Catspeak are you using?

3.1.0

What happened?

Passing undefined to catspeak_method with a Catspeak function, causes the self to be undefined and other to be the previous self upon calling. It should at the very least not change self/other in this matter. Though as it's unlikely someone will use undefined as the scope, I'd find this to be a low priority.

@tabularelf tabularelf added bug Something isn't working high priority Important labels Jul 18, 2024
@tabularelf tabularelf changed the title Catspeak methods with the scope undefined causes a whole mess with scopes Passing undefined to catspeak_method and then calling the result, causes a mess with scopes! Jul 18, 2024
@katsaii
Copy link
Owner

katsaii commented Jul 28, 2024

I've looked into this and it might be a more involved change than I'm thinking. It might have to wait until I can make more destructive changes in a potential v4 of Catspeak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Important
Projects
None yet
Development

No branches or pull requests

2 participants