DescendantsTracker: fix the TruffleRuby implementation

Ref: https://github.com/rails/rails/pull/43723

This was pretty much a typo...
This commit is contained in:
Jean Boussier 2021-12-09 09:37:58 +01:00
parent 479583a7f2
commit 151ba1ab0c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module ActiveSupport
end end
def []=(object, _present) def []=(object, _present)
@map[object_id] = object @map[object.object_id] = object
end end
end end
WeakSet.new WeakSet.new