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
skalee
changed the title
Build failures on Ruby 2.6.3
YARD fails to recognize symbol :'' on Ruby 2.6.3, which causes build failures
May 9, 2019
skalee
changed the title
YARD fails to recognize symbol :'' on Ruby 2.6.3, which causes build failures
YARD fails to recognize symbol :"" on Ruby 2.6.3, which causes build failures
May 9, 2019
skalee
changed the title
YARD fails to recognize symbol :"" on Ruby 2.6.3, which causes build failures
YARD fails to recognize empty symbol (:"") on Ruby 2.6.3, which causes build failures
May 9, 2019
In ./spec/handlers/constant_handler_spec.rb:38, source range of s(:string_content, ) which represents the empty string in symbol definition :'' is 417..417, whereas it should be 416..415. Note that both boundaries are incorrect.
Non-empty quoted symbols (e.g. :'42') are recognized as intended.
Something has changed in Ruby 2.6.3. In the result, two tests fail.
Steps to reproduce
bundle exec rspec
orbundle exec rake
.Actual Output
RSpec Failures
Expected Output
All tests should pass.
Possible causes
According to release notes, not much has changed:
Full changelog:
Main suspect:
Secondary suspect:
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: