$ 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 188.8.131.52 (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 184.108.40.206, 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.
This is on CRuby 2.4.1.
This is on JRuby 220.127.116.11 as described previously.
The text was updated successfully, but these errors were encountered: