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

The method name becomes call in backtrace inside a block outside a method #4936

Closed
shuujii opened this issue Jan 23, 2020 · 0 comments
Closed

Comments

@shuujii
Copy link
Contributor

shuujii commented Jan 23, 2020

mruby

$ bin/mruby -e '1.times{raise}'
trace (most recent call last):
	[2] -e:1
	[1] mrblib/numeric.rb:77:in times
-e:1:in call: RuntimeError

Ruby

$ ruby -e '1.times{raise}'
Traceback (most recent call last):
	2: from -e:1:in `<main>'
	1: from -e:1:in `times'
-e:1:in `block in <main>': unhandled exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant