summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line
diff options
context:
space:
mode:
authortomoya ishida <tomoyapenguin@gmail.com>2022-10-18 14:30:29 +0900
committergit <svn-admin@ruby-lang.org>2022-10-18 05:30:33 +0000
commit344e6c915f41d99df024c7e90403baca0d5213a5 (patch)
tree8f1cb348cc73fad9c8a169cb7da7a8189c2d1384 /spec/ruby/command_line
parent134acf98d897dd93c3d113e5d6b897fb690aaa92 (diff)
[ruby/irb] Fix code terminated check with heredoc and backtick (https://github.com/ruby/irb/pull/390)
* Fix backtick method def method call handled as backtick open * Fix handling heredoc in check_string_literal * Sort result of lexer.parse by pos in ruby<2.7. It's not sorted when the given code includes heredoc. * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add check_string_literal test for heredoc code that does not end with newline https://github.com/ruby/irb/commit/44bc712460 Co-authored-by: Stan Lo <stan001212@gmail.com>
Diffstat (limited to 'spec/ruby/command_line')
0 files changed, 0 insertions, 0 deletions