[stdlib] Pinging the compiler doesn't usually help

Swift SVN r28225
This commit is contained in:
Dave Abrahams
2015-05-06 23:06:58 +00:00
parent 37f5452d15
commit 04d6928390

View File

@@ -1397,7 +1397,7 @@ extension String {
/// Returns an array of strings made by separately appending
/// to the `String` each string in in a given array.
public func stringsByAppendingPaths(paths: [String]) -> [String] {
return _ns.stringsByAppendingPaths(paths) ping as! [String]
return _ns.stringsByAppendingPaths(paths) as! [String]
}
// - (NSString *)substringFromIndex:(NSUInteger)anIndex