Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Racc::ParseError on argument forwarding with(...) #381

Open
@spickermann

Description

@spickermann

I noticed that the duplication check generatesRacc::ParseError log messages about parsing errors on....

I, [2023-03-21T10:07:19.656114 #1]  INFO -- : Skipping file ./example.rb due to exception (Racc::ParseError): ./example.rb:5 :: parse error on value "..." (tDOT3)

The file basically looks like this:

moduleCallableextendActiveSupport::Concernclass_methodsdodefcall(...)new(...).callenddefcall!(...)new(...).call!endendend

I wonder why the parser fails to parse this, because that syntax was introduced inRuby 2.7 already. And I wonder if this issue is related to#375 because in that issue the parser is also failing to parse a newer language feature.

What version of Ruby (and thereby what version of the Racc Parser) does CodeClimate use to run the duplication check?

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp