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
repro_rdoc.rb:5:in `block in test': undefined method `casecmp?' for nil:NilClass (NoMethodError)
from <internal:core> core/kernel.rb:523:in `yield_self'
from repro_rdoc.rb:5:in `test'
from repro_rdoc.rb:9:in `<main>'
Originally reported by @nobu on Slack.
Can be seen at https://github.com/nobu/rdoc/actions/runs/7484932428/job/20372568997#step:6:37
And I could also reproduce locally for ruby/rdoc@4e14158 and
truffleruby 24.0.0-dev-286d3a41, like ruby 3.2.2, GraalVM CE Native [x86_64-linux]
286d3a41.But looking at the code it's clear
mode
cannot benil
there:https://github.com/ruby/rdoc/blob/4e14158255ad8de64041105470d88f66b6e22e98/lib/rdoc/parser.rb#L128-L131
Interestingly it happens with
export TRUFFLERUBYOPT="--experimental-options --engine.Compilation=false"
too.And it also happens on
truffleruby-jvm
.Can be reproduced with just
be ruby -Ilib test/rdoc/test_rdoc_parser.rb
.The text was updated successfully, but these errors were encountered: