Skip to content

Commit 6a526e8

Browse files
authored
Remove _typeByName lookup of _FoundationNSNumberInitializer (#817) (#824)
1 parent 9c43b57 commit 6a526e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/FoundationEssentials/FileManager/FileManager+Files.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public protocol _NSNumberInitializer {
120120

121121
@_spi(SwiftCorelibsFoundation)
122122
dynamic public func _nsNumberInitializer() -> (any _NSNumberInitializer.Type)? {
123-
// TODO: return nil here after swift-corelibs-foundation begins dynamically replacing this function
124-
_typeByName("Foundation._FoundationNSNumberInitializer") as? any _NSNumberInitializer.Type
123+
// Dynamically replaced by swift-corelibs-foundation
124+
return nil
125125
}
126126
#endif
127127

0 commit comments

Comments
 (0)