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

Miss count lineno #3477

Closed
ksss opened this issue Feb 28, 2017 · 0 comments
Closed

Miss count lineno #3477

ksss opened this issue Feb 28, 2017 · 0 comments

Comments

@ksss
Copy link
Contributor

ksss commented Feb 28, 2017

$ cat t.rb
a = "




"

p __LINE__
raise
$ mruby t.rb
3
trace:
	[0] t.rb:4
t.rb:4: RuntimeError
$ ruby t.rb
8
t.rb:9:in `<main>': unhandled exception

I think, mruby's lineno should be same as CRuby.

@matz matz closed this as completed in cd0ac59 Feb 28, 2017
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