mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed the key to delete [Bug #16250]
f94202fcc2 (commitcomment-35505076)
Co-Authored-By: Ary Borenszweig <asterite@gmail.com>
This commit is contained in:
parent
81176095f4
commit
c01df7e58f
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ module IRB # :nodoc:
|
|||
seen[obj] = true
|
||||
block.call
|
||||
ensure
|
||||
seen.delete(obj.object_id)
|
||||
seen.delete(obj)
|
||||
end
|
||||
|
||||
# Ripper::Lexer::Elem#state is supported on Ruby 2.5+
|
||||
|
|
Loading…
Reference in a new issue