Closed glessard closed 4 months ago
This change disfavors String(platformString:) so that it is not ambiguous with String(cString:) when the initializer is specified without noting the label (i.e. in usages such as someUnsafePointer.map(String.init)
Cherry-picked from https://github.com/apple/swift-system/pull/161
Resolves rdar://127408859
This change disfavors String(platformString:) so that it is not ambiguous with String(cString:) when the initializer is specified without noting the label (i.e. in usages such as someUnsafePointer.map(String.init)
Cherry-picked from https://github.com/apple/swift-system/pull/161
Resolves rdar://127408859