Open
Description
Found this while importing your tests into YARP. On this line:
unparser/test/corpus/literal/pattern.rb
Line 20 in 8260882
It's actually a syntax error.
case foo
in {"#{"a"}": 1}
end
Running ruby -c
gives:
test.rb: test.rb:2: symbol literal with interpolation is not allowed (SyntaxError)
in {"#{"a"}": 1}
^~~~~~~~~
Metadata
Assignees
Labels
No labels