summaryrefslogtreecommitdiff
path: root/lib/irb/completion.rb
diff options
context:
space:
mode:
authoraycabta <[email protected]>2021-09-23 18:02:02 +0900
committergit <[email protected]>2021-09-24 23:50:32 +0900
commitff26c60bc137b6be96c7f49241b831b037a157b3 (patch)
tree454e23aefa96b62aa71015c099c7c19b5394242c /lib/irb/completion.rb
parent93291005a0bcb11d8dca4abdc645d50e1c98aefd (diff)
[ruby/irb] Revert "Show original string byte sequence to debug"
This reverts commit b42fe5937ab2a605a198ffb866db5ccda541568d. https://github.com/ruby/irb/commit/b22094a16f
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r--lib/irb/completion.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
index 58328c2490..a8a73cce80 100644
--- a/lib/irb/completion.rb
+++ b/lib/irb/completion.rb
@@ -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)}/)