You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ uname -a
Linux x250 4.11.6-3-ARCH #1 SMP PREEMPT Thu Jun 22 12:21:46 CEST 2017 x86_64 GNU/Linux
$ ruby -v
jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 OpenJDK 64-Bit Server VM 25.131-b11 on 1.8.0_131-b11 +jit [linux-x86_64]
The test_accept_verbatim_nl_after_backslash is failed on JRuby
because Ripper on JRuby fails to lexical analyse around escaped newline.
I filed a issue for it: jruby/jruby#4787
The "skip" should be removed after the issue is resolved.
then all is happy. when put into a interpolated string with \ then the lexer will actually see the \ character in the stream and it all gets weird. Makes me wonder how well we actually execute that code too...
The code below is valid on JRuby 9.1.13.0, CRuby 2.4.1 and more old days:
But Ripper on JRuby fails to lexical analyse source code around escaped newline. It returns strange tokens.
I'm in need when using Ripper for RDoc.
Environment
$ uname -a Linux x250 4.11.6-3-ARCH #1 SMP PREEMPT Thu Jun 22 12:21:46 CEST 2017 x86_64 GNU/Linux $ ruby -v jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 OpenJDK 64-Bit Server VM 25.131-b11 on 1.8.0_131-b11 +jit [linux-x86_64]
Source Code
Expected Behavior
This is on CRuby 2.4.1.
Actual Behavior
This is on JRuby 9.1.3.0 as described previously.
The text was updated successfully, but these errors were encountered: