Skip to content

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

Closed
@shuujii

Description

@shuujii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions