Skip to content

Commit 0953ad4

Browse files
authored
fix: NSLock subclassing issue (#2643)
Import CoreFoundation as a temporary workaround #2621
1 parent baf816f commit 0953ad4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Platform/AtomicInt.swift

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// Copyright © 2018 Krunoslav Zaher. All rights reserved.
77
//
88

9+
import CoreFoundation
10+
// This CoreFoundation import can be dropped when this issue is resolved:
11+
// https://github.com/swiftlang/swift-corelibs-foundation/pull/5122
912
import Foundation
1013

1114
final class AtomicInt: NSLock, @unchecked Sendable {

0 commit comments

Comments
 (0)