We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
ruby 2.3.0p0 (2015-12-25 revision 53290) [i386-mingw32] jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) Client VM 25.31-b07 on 1.8.0_31-b13 +jit [mswin32-x86]
$ systeminfo | findstr /B /C:"OS Name" /C:"OS Version" OS Name: Microsoft Windows 7 Enterprise OS Version: 6.1.7601 Service Pack 1 Build 7601
Correct line number is reported in backtrace when raising syntax error.
Example code:
def a_method 123*/20 'padding' 'more padding' end
Output in MRI 2.3.0
$ ruby test.rb test.rb:2: unterminated regexp meets end of file test.rb:2: syntax error, unexpected end-of-input, expecting keyword_end
Output in JRuby
$ jruby test.rb SyntaxError: test.rb:7: unterminated string meets end of file
Cross referencing another linenum issue: #4154
The text was updated successfully, but these errors were encountered:
This issue is unrelated to #4154
Sorry, something went wrong.
2721667
No branches or pull requests
Environment
Expected Behavior
Correct line number is reported in backtrace when raising syntax error.
Example code:
Actual Behavior
Output in MRI 2.3.0
Output in JRuby
Cross referencing another linenum issue: #4154
The text was updated successfully, but these errors were encountered: