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.

Hash value ommission from Ruby-3.1 #375

Open
Assignees
filipesperandio
@Zmokizmoghi

Description

@Zmokizmoghi

Hash value omission was introduced with ruby 3.1 -rubyreferences.github.io/rubychanges/3.1.html#values-in-hash-literals-and-keyword-arguments-can-be-omitted

And apparently it breaks codeclimate-duplication engine:
Skipping file examle.rb due to exception (Racc::ParseError): example.rb:5 :: parse error on value ":" (tCOLON)

example.rb content:

# frozen_string_literal: trueclass Example  def perform(id)    Model.find_by!(id:)  endend

Thanks

Metadata

Metadata

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