Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autoload path for RipperParser #1460

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Fix autoload path for RipperParser #1460

merged 1 commit into from
Jan 5, 2023

Conversation

ksss
Copy link
Contributor

@ksss ksss commented Sep 27, 2022

Description

The autoload specification is incorrect and should be corrected. The class YARD::Parser::Ruby::Legacy::RipperParser does not exist and is assumed to be YARD::Parser::Ruby::RipperParser.

YARD::Parser::Ruby::Legacy.constants
#=> [:Statement, :RipperParser, :RubyParser, :RubyToken, :StatementList, :TokenList]
YARD::Parser::Ruby::Legacy::RipperParser
#=> uninitialized constant YARD::Parser::Ruby::Legacy::RipperParser (NameError)

Completed Tasks

  • I have read the Contributing Guide.
  • The pull request is complete (implemented / written).
  • Git commits have been cleaned up (squash WIP / revert commits).
  • I wrote tests and ran bundle exec rake locally (if code is attached to PR).

@lsegal lsegal merged commit 0046442 into lsegal:main Jan 5, 2023
@lsegal
Copy link
Owner

lsegal commented Jan 5, 2023

Getting around to these. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants