We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@koic
Can you please open a new another issue?
Sure, here you go. Ruby allows symbols that end with =, but gives syntax error for such Hash keys.
=
{ "one=": 1 } # [Lint/SymbolConversion] [W] Unnecessary symbol conversion; use `one=:` instead. ...
> x = :one= => :one= > { one=: 1 } SyntaxError: unexpected ':' { one=: 1 } ^ > { :one= => 1 } => {:one==>1} > { "one=": 1 } => {:one==>1}
The text was updated successfully, but these errors were encountered:
Lint/SymbolConversion
[Fix rubocop#9457] Fix a false positive for Lint/SymbolConversion
da98862
Fixes rubocop#9457. This PR fixes a false positive for Lint/SymbolConversion when hash keys that end with `=`.
Merge pull request #9467 from koic/fix_a_false_positive_for_lint_symb…
529c1a8
…ol_conversion [Fix #9457] Fix a false positive for `Lint/SymbolConversion`
Successfully merging a pull request may close this issue.
@koic
Sure, here you go. Ruby allows symbols that end with
=
, but gives syntax error for such Hash keys.The text was updated successfully, but these errors were encountered: