Skip to content

Ruby 3 incompatibility (usage of RubyToken)Β #13

@hakanai

Description

@hakanai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions