mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Otherwise, we can't represent a cross-reference to generic parameters in a parent type /when used in an extension/. https://bugs.swift.org/browse/SR-9084
18 lines
398 B
Swift
18 lines
398 B
Swift
public struct OuterNonGeneric {
|
|
public struct InnerNonGeneric {
|
|
public typealias AliasTy = ()
|
|
}
|
|
public struct InnerGeneric<Y1, Y2> {
|
|
public typealias AliasTy = (Y1, Y2)
|
|
}
|
|
}
|
|
|
|
public struct OuterGeneric<X1, X2> {
|
|
public struct InnerNonGeneric {
|
|
public typealias AliasTy = (X1, X2)
|
|
}
|
|
public struct InnerGeneric<Y1, Y2> {
|
|
public typealias AliasTy = (X1, X2, Y1, Y2)
|
|
}
|
|
}
|