We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94670fd commit 3a48040Copy full SHA for 3a48040
lib/syntax_tree/parser.rb
@@ -629,12 +629,10 @@ def on_array(contents)
629
location: lbracket.location.to(rbracket.location)
630
)
631
else
632
- tstring_end = consume_tstring_end(contents.lbracket.location)
633
-
634
ArrayLiteral.new(
635
lbracket: contents.lbracket,
636
contents: contents.contents,
637
- location: contents.location.to(tstring_end.location)
+ location: contents.location
638
639
end
640
0 commit comments