diff --git a/Sources/FoundationEssentials/FileManager/FileManager+Files.swift b/Sources/FoundationEssentials/FileManager/FileManager+Files.swift index 5d7c4a2c0..49d46855a 100644 --- a/Sources/FoundationEssentials/FileManager/FileManager+Files.swift +++ b/Sources/FoundationEssentials/FileManager/FileManager+Files.swift @@ -123,8 +123,8 @@ public protocol _NSNumberInitializer { @_spi(SwiftCorelibsFoundation) dynamic public func _nsNumberInitializer() -> (any _NSNumberInitializer.Type)? { - // TODO: return nil here after swift-corelibs-foundation begins dynamically replacing this function - _typeByName("Foundation._FoundationNSNumberInitializer") as? any _NSNumberInitializer.Type + // Dynamically replaced by swift-corelibs-foundation + return nil } #endif