mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: fixit-based migrations for generic parameter renames
rdar://21538940 Swift SVN r29756
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user