diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-10-17 23:00:23 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-18 06:03:23 +0000 |
commit | 931bcd1b6315de5407a73019482bd3919f16820d (patch) | |
tree | be602a151c5c8137e075293b58b780608801c926 /lib/bundler | |
parent | a09f764ce52838a363b006ea434287eca431dbae (diff) | |
download | ruby-931bcd1b6315de5407a73019482bd3919f16820d.tar.gz |
[ruby/irb] Assert lvars_code doesn't include \n
Removing /\A.+\n/ could have an unexpected impact, depending on how
RubyLex.generate_local_variables_assign_code is implemented. It feels
like a too much assumption and the intention isn't immediately clear,
so I added these changes.
https://github.com/ruby/irb/commit/ccc07a35ce
Diffstat (limited to 'lib/bundler')
0 files changed, 0 insertions, 0 deletions