mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[ruby/prism] Fix up ruby_parser string concat
https://github.com/ruby/prism/commit/4b06eae0df
This commit is contained in:
parent
9f71393fe4
commit
c7281e2d67
@ -875,6 +875,8 @@ module Prism
|
||||
else
|
||||
visited << result
|
||||
end
|
||||
elsif result[0] == :dstr
|
||||
visited.concat(result[1..-1])
|
||||
else
|
||||
visited << result
|
||||
end
|
||||
|
||||
@ -34,18 +34,15 @@ module Prism
|
||||
seattlerb/masgn_colon3.txt
|
||||
seattlerb/messy_op_asgn_lineno.txt
|
||||
seattlerb/op_asgn_primary_colon_const_command_call.txt
|
||||
seattlerb/parse_line_evstr_after_break.txt
|
||||
seattlerb/regexp_esc_C_slash.txt
|
||||
seattlerb/str_lit_concat_bad_encodings.txt
|
||||
unescaping.txt
|
||||
unparser/corpus/literal/kwbegin.txt
|
||||
unparser/corpus/literal/send.txt
|
||||
unparser/corpus/semantic/dstr.txt
|
||||
whitequark/masgn_const.txt
|
||||
whitequark/ruby_bug_12402.txt
|
||||
whitequark/ruby_bug_14690.txt
|
||||
whitequark/space_args_block.txt
|
||||
whitequark/string_concat.txt
|
||||
]
|
||||
|
||||
# https://github.com/seattlerb/ruby_parser/issues/344
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user