We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following input demonstrates a crash:
instance_eval { super &0 }
This issue was reported by https://hackerone.com/d4nny
I noticed that the following also crashes:
instance_exec { super &0 }
And the following don't behave as expected. In MRI they result in "super called outside of method" but in MRuby the results are different:
$ bin/mirb mirb - Embeddable Interactive Ruby Shell > instance_eval { super 0 } (mirb):1: expected String (TypeError) > instance_exec { super 0 } (mirb):2: no block given (ArgumentError)
The text was updated successfully, but these errors were encountered:
Will be fixed. instance_eval can take a string argument where instance_exec cannot. That's the reason they raise different exceptions.
instance_eval
instance_exec
Sorry, something went wrong.
af4d74f
No branches or pull requests
The following input demonstrates a crash:
This issue was reported by https://hackerone.com/d4nny
I noticed that the following also crashes:
And the following don't behave as expected. In MRI they result in "super called outside of method" but in MRuby the results are different:
The text was updated successfully, but these errors were encountered: