You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app.rb:3:3: C: [Corrected] Do not expand array literals in when conditions.
when *%w(foo bar) then x
^^^^^^^^^^^^^^^^^
app.rb:3:12: E: unexpected token tIDENTIFIER
when foo bar then x
^^^
app.rb:5:1: E: unexpected token kEND
end
^^^
Checked on v0.34.1
The text was updated successfully, but these errors were encountered:
Given example
Is being auto fixed to
But
foo bar
is expected to be defined as strings.Also it fails immediately:
Checked on v0.34.1
The text was updated successfully, but these errors were encountered: