mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Outside function input types, ban single-element tuples with a label and variadic tuples.
Addresses <rdar://problem/15456156> and <rdar://problem/17466857>, and sets us up for more simplification in the type system. Swift SVN r20995
This commit is contained in:
@@ -611,7 +611,7 @@ public func transcode<
|
||||
OutputEncoding.CodeUnit == Output.Element>(
|
||||
inputEncoding: InputEncoding.Type, outputEncoding: OutputEncoding.Type,
|
||||
var input: Input, var output: Output, #stopOnError: Bool
|
||||
) -> (hadError: Bool) {
|
||||
) -> (Bool) {
|
||||
|
||||
// NB. It is not possible to optimize this routine to a memcpy if
|
||||
// InputEncoding == OutputEncoding. The reason is that memcpy will not
|
||||
|
||||
Reference in New Issue
Block a user