stdlib: fixit-based migrations for generic parameter renames

rdar://21538940

Swift SVN r29756
This commit is contained in:
Dmitri Hrybenko
2015-06-27 04:06:27 +00:00
parent 18cfd2ee17
commit 82122f9362
20 changed files with 280 additions and 2 deletions

View File

@@ -17,7 +17,9 @@
/// A collection that forwards its implementation to an underlying
/// collection instance while exposing lazy computations as methods.
public struct ${Self}<Base : CollectionType ${whereClause}> : CollectionType {
@available(*, unavailable, renamed="Base")
public typealias S = Base
/// Construct an instance with `base` as its underlying collection
/// instance.
public init(_ base: Base) {