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
On JRuby 9.x.x.x Ripper.sexp unexpectedly returns nil when given source includes keyword-ish symbol such as :if and :unless (not sure if there're any more).
Environment
$ jruby --version
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.25-b02 on 1.8.0_25-b17 +jit [darwin-x86_64]
$ uname -a
Darwin macbookpro.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
Expected Behavior
Ripper.sexp should return an array for source including :if, as MRI does:
On JRuby 9.x.x.x
Ripper.sexp
unexpectedly returns nil when given source includes keyword-ish symbol such as:if
and:unless
(not sure if there're any more).Environment
Expected Behavior
Ripper.sexp
should return an array for source including:if
, as MRI does:Actual Behavior
Ripper.sexp
returns nil for source including:if
:The text was updated successfully, but these errors were encountered: