Skip to content

Commit 5013ee7

Browse files
committed
CocoaDictionary only available in objc runtime
1 parent cc6682a commit 5013ee7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/LegacyABI.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ extension Dictionary._Variant {
153153
}
154154
}
155155

156+
#if _runtime(_ObjC)
156157
extension __CocoaDictionary {
157158
@usableFromInline
158159
@_silgen_name("$ss17__CocoaDictionaryV9mapValuesys07_NativeB0Vyxq0_Gq0_q_KXEKSHRzr1_lF")
@@ -168,6 +169,7 @@ extension __CocoaDictionary {
168169
return result
169170
}
170171
}
172+
#endif
171173

172174
extension _NativeDictionary {
173175
@usableFromInline

0 commit comments

Comments
 (0)