Skip to content

Commit c3d6a46

Browse files
authored
Partly revert "Reduce consequences of method invalidation for Dict and Set" (#35762)
This partly reverts commit 1da1b8d.
1 parent 99dbd2d commit c3d6a46

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

base/dict.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,6 @@ end
378378

379379
function setindex!(h::Dict{K,V}, v0, key::K) where V where K
380380
v = convert(V, v0)
381-
setindex!(h, v, key)
382-
end
383-
384-
function setindex!(h::Dict{K,V}, v::V, key::K) where V where K
385381
index = ht_keyindex2!(h, key)
386382

387383
if index > 0

0 commit comments

Comments
 (0)