File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/prism/translation/parser Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,8 @@ def to_a
483
483
type = :tIDENTIFIER
484
484
end
485
485
when :tXSTRING_BEG
486
- if ( next_token = lexed [ index ] [ 0 ] ) && next_token . type != :STRING_CONTENT && next_token . type != :STRING_END
486
+ if ( next_token = lexed [ index ] [ 0 ] ) && !%i[ STRING_CONTENT STRING_END EMBEXPR_BEGIN ] . include? ( next_token . type )
487
+ # self.`()
487
488
type = :tBACK_REF2
488
489
end
489
490
quote_stack . push ( value )
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ class ParserTest < TestCase
98
98
"heredocs_with_ignored_newlines.txt" ,
99
99
"methods.txt" ,
100
100
"strings.txt" ,
101
- "seattlerb/backticks_interpolation_line.txt" ,
102
101
"seattlerb/bug169.txt" ,
103
102
"seattlerb/case_in.txt" ,
104
103
"seattlerb/difficult4__leading_dots2.txt" ,
You can’t perform that action at this time.
0 commit comments