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

Ruby 3 incompatibility (usage of RubyToken) #13

Open
hakanai opened this issue Feb 7, 2023 · 2 comments
Open

Ruby 3 incompatibility (usage of RubyToken) #13

hakanai opened this issue Feb 7, 2023 · 2 comments

Comments

@hakanai
Copy link

hakanai commented Feb 7, 2023

Running Saikuro currently fails on ruby 3 as it makes use of RubyToken. e.g.:

class TokenCounter
include RubyToken

The NameError suggests RubyLex but I have no idea whether that's a good lead.

In my investigation, I was able to figure out that this module was removed in Ruby 2.7, but I haven't been able to find any documentation describing why it was removed or what the replacement is.

@skull-squadron
Copy link

Encountered this also. Gotta love arbitrary semver-breaking changes, but this seems to be a consequence of rule-by-fiat-of-a-few-devs under-governance @ MRI.

@bf4
Copy link
Member

bf4 commented Feb 16, 2023

ok, that's a little aggressive

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

No branches or pull requests

3 participants