[ruby/irb] Revert "Show original string byte sequence to debug"
This reverts commit b42fe5937ab2a605a198ffb866db5ccda541568d. https://github.com/ruby/irb/commit/b22094a16f
This commit is contained in:
parent
93291005a0
commit
ff26c60bc1
@ -194,8 +194,6 @@ module IRB
|
||||
":" + s.id2name.encode(Encoding.default_external)
|
||||
rescue EncodingError
|
||||
# ignore
|
||||
rescue Encoding::InvalidByteSequenceError => e
|
||||
raise "Invalid byte sequence #{s.id2name.bytes.inspect} #{e.inspect}"
|
||||
end
|
||||
candidates.grep(/^#{Regexp.quote(sym)}/)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user