Skip to content

Commit 1cc67dc

Browse files
authored
Merge pull request #20856 from Catfish-Man/master
Fix mis-merge
2 parents c2a6021 + ee02182 commit 1cc67dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/public/core/StringStorage.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ extension _AbstractStringStorage {
132132
return _nativeIsEqual(_unsafeUncheckedDowncast(other, to: _StringStorage.self))
133133
case .shared:
134134
return _nativeIsEqual(_unsafeUncheckedDowncast(other, to: _SharedStringStorage.self))
135+
#if !(arch(i386) || arch(arm))
135136
case .tagged:
136137
fallthrough
138+
#endif
137139
case .cocoa:
138140
//we're allowed to crash, but for compatibility reasons NSCFString allows non-strings here
139141
if _isNSString(other) != 1 {
@@ -188,7 +190,7 @@ final internal class _StringStorage: __SwiftNativeNSString, _AbstractStringStora
188190

189191
internal var _reserved: UInt16
190192

191-
override internal var count: Int {
193+
internal var count: Int {
192194
@inline(__always) get { return _count }
193195
@inline(__always) set { _count = newValue }
194196
}

0 commit comments

Comments
 (0)