ruby-changes:64784
From: Nobuhiro <ko1@a...>
Date: Fri, 8 Jan 2021 13:38:34 +0900 (JST)
Subject: [ruby-changes:64784] 4bb683a570 (master): [ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence`
https://git.ruby-lang.org/ruby.git/commit/?id=4bb683a570 From 4bb683a570043d169049d9741c319a297acd607b Mon Sep 17 00:00:00 2001 From: Nobuhiro IMAI <nov@y...> Date: Wed, 6 Jan 2021 19:01:08 +0900 Subject: [ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence` https://github.com/ruby/irb/commit/d09d3c3d68 diff --git a/lib/irb.rb b/lib/irb.rb index 1fb1781..2926825 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -586,7 +586,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L586 ret = conv.primitive_convert(str, dst) case ret when :invalid_byte_sequence - conf.insert_output(conf.primitive_errinfo[3].dump[1..-2]) + conv.insert_output(conf.primitive_errinfo[3].dump[1..-2]) redo when :undefined_conversion c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1]) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/