Skip to content

Commit a57b06e

Browse files
authored
Remove _typeByName lookup of _FoundationNSNumberInitializer (#817)
1 parent 07f38c4 commit a57b06e

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
@@ -123,8 +123,8 @@ public protocol _NSNumberInitializer {
123123

124124
@_spi(SwiftCorelibsFoundation)
125125
dynamic public func _nsNumberInitializer() -> (any _NSNumberInitializer.Type)? {
126-
// TODO: return nil here after swift-corelibs-foundation begins dynamically replacing this function
127-
_typeByName("Foundation._FoundationNSNumberInitializer") as? any _NSNumberInitializer.Type
126+
// Dynamically replaced by swift-corelibs-foundation
127+
return nil
128128
}
129129
#endif
130130

0 commit comments

Comments
 (0)