Skip to content

Commit

Permalink
Revert "Show original string byte sequence to debug"
Browse files Browse the repository at this point in the history
This reverts commit b42fe5937ab2a605a198ffb866db5ccda541568d.
  • Loading branch information
aycabta committed Sep 24, 2021
1 parent 7a97bb0 commit b22094a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/irb/completion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ def self.retrieve_completion_data(input, bind: IRB.conf[:MAIN_CONTEXT].workspace
":" + 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)}/)

Expand Down

0 comments on commit b22094a

Please sign in to comment.