mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
PR #63789 introduced verification of the generic parameters appearing in debug info, but I missed an edge case where we have to push a different generic signature. Fixes #63869.
18 lines
281 B
Swift
18 lines
281 B
Swift
// RUN: %target-swift-frontend -emit-ir -g %s
|
|
|
|
public protocol P {
|
|
associatedtype Element
|
|
}
|
|
|
|
public struct G<T, U> {
|
|
public struct Nested {}
|
|
|
|
public init(_: (Nested) -> ()) {}
|
|
}
|
|
|
|
public extension P {
|
|
var values: G<Element, Int> {
|
|
G<Element, Int> { x in }
|
|
}
|
|
}
|