mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
transcode(..., stopOnError:) => transcode(..., stoppingOnError:)
This commit is contained in:
committed by
Max Moiseev
parent
e5dba78263
commit
f3ecc3cdc5
@@ -96,7 +96,7 @@ class NonContiguousNSString : NSString {
|
||||
var iter = scalars.iterator()
|
||||
let output: (UInt16) -> Void = { encoded.append($0) }
|
||||
let hadError =
|
||||
transcode(UTF32.self, UTF16.self, iter, output, stopOnError: true)
|
||||
transcode(UTF32.self, UTF16.self, iter, output, stoppingOnError: true)
|
||||
expectFalse(hadError)
|
||||
self.init(encoded)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user