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

Uncaught Error: unexpected return for singleton method in instance method #1604

Closed
AlexWayfer opened this issue Dec 11, 2016 · 3 comments
Closed
Labels

Comments

@AlexWayfer
Copy link

Hello!

define_singleton_method in top-level works good.

But return in define_singleton_method, defined in other instance method, doesn't.

Here is my snippet.

Opal version is 0.10.2.

Thanks.

@elia
Copy link
Member

elia commented Dec 13, 2016

Confirmed on master as well

@hmdne hmdne added the v1.1 Still an issue on v1.1 label Jul 6, 2021
@hmdne
Copy link
Member

hmdne commented Sep 24, 2021

Related to #260? Should some methods work in similar fashion?

@hmdne
Copy link
Member

hmdne commented Dec 1, 2022

Ah, it got fixed by #2357 :)

@hmdne hmdne closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants