Upgrade Ruby parser used

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
tooling

Research direction

Inspect the dependency configuration and the representer entry point that loads parser/current. Run the representer under the supported Ruby version and confirm the compatibility warning is gone while newer Ruby syntax remains accepted; update the relevant dependency configuration and verify the existing checks pass.

Written by the indexing model from the issue text.

Description

When running the representer, it outputs the following to stderr:

warning: parser/current is loading parser/ruby25, which recognizes
warning: 2.5.8-compliant syntax, but you are running 2.5.9.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.

This sounds like it is using an old Ruby version. It would be great to have this use the latest Ruby parser, as otherwise newer Ruby features will likely cause the representer to break.

Dominant language
Ruby
Stars
4
Forks
7
Avg merge
2m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.