transcode(..., stopOnError:) => transcode(..., stoppingOnError:)

This commit is contained in:
Dmitri Gribenko
2015-11-04 16:54:05 -08:00
committed by Max Moiseev
parent e5dba78263
commit f3ecc3cdc5
7 changed files with 978 additions and 18 deletions

View File

@@ -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)
}