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
I am getting a NullPointerException /Users/pitr/Workspace/labs/jruby/test/mri/lib/test/unit.rb:257:inrequire': internal implementation error - NullPointerException null org.jruby.parser.ParserSupport.cond0(ParserSupport.java:544) (RubyTruffleError)`.
I've tracked it down to this expression assert_equal(true, (not ())) in test/mri/ruby/test_not.rb. Could you look at it?
The text was updated successfully, but these errors were encountered:
I solved this differently than MRI which was adding lots of null checks by returning () as nil. I think this should be safe if you consider '()' in other non-parameter contexts like:
@pitr-ch cool. If you find more (as we have tons of tests commented out) then open up issues. I should be able to fix parsing issues quick. This '()' has been one which seems to never completely go away...
I am getting a NullPointerException
/Users/pitr/Workspace/labs/jruby/test/mri/lib/test/unit.rb:257:in
require': internal implementation error - NullPointerException null org.jruby.parser.ParserSupport.cond0(ParserSupport.java:544) (RubyTruffleError)`.I've tracked it down to this expression
assert_equal(true, (not ()))
intest/mri/ruby/test_not.rb
. Could you look at it?The text was updated successfully, but these errors were encountered: