1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/irb] Fix typo of variable

https://github.com/ruby/irb/commit/692eb9b9b5
This commit is contained in:
aycabta 2021-10-04 09:36:38 +09:00 committed by git
parent e54d1e99e9
commit 31332cf469

View file

@ -613,7 +613,7 @@ module IRB
ret = conv.primitive_convert(str, dst)
case ret
when :invalid_byte_sequence
conv.insert_output(conf.primitive_errinfo[3].dump[1..-2])
conv.insert_output(conv.primitive_errinfo[3].dump[1..-2])
redo
when :undefined_conversion
c = conv.primitive_errinfo[3].dup.force_encoding(conv.primitive_errinfo[1])