Skip to content

Commit f2255b7

Browse files
authored
[NFC] Optimize overflow for ConditionalTypeDescription.project (#684)
1 parent 51197b7 commit f2255b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenSwiftUICore/Runtime/ConditionalMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ package struct ConditionalTypeDescriptor<P> where P: ConditionalProtocolDescript
114114
at: base,
115115
tag: tag
116116
) { ptr in
117-
descriptor.project(at: ptr, baseIndex: baseIndex &+ 1, body)
117+
descriptor.project(at: ptr, baseIndex: baseIndex + 1, body)
118118
}
119119
}
120120
case let .either(type, falseDescriptor, trueDescriptor):

0 commit comments

Comments
 (0)