Skip to content

Commit 579f944

Browse files
natecook1000DougGregor
authored andcommitted
Fix dictionary merge bug under optimization
(cherry picked from commit 3f68f28)
1 parent bba6282 commit 579f944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/HashedCollections.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4923,6 +4923,7 @@ internal enum _Variant${Self}Buffer<${TypeParametersDecl}> : _HashBuffer {
49234923
) rethrows where S.Iterator.Element == (Key, Value) {
49244924
if _fastPath(guaranteedNative) {
49254925
try nativeMerge(keysAndValues, uniquingKeysWith: combine)
4926+
return
49264927
}
49274928

49284929
switch self {

0 commit comments

Comments
 (0)