mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ensure unique names in ParameterList::clone()
IRGenDebugInfo assumes that all argument names within the same scope are unique as it uses them as a key in a hash table. rdar://102367872
This commit is contained in:
@@ -30,7 +30,7 @@ public class Base<In, Out> {
|
||||
public class Derived<T> : Base<T, T> {
|
||||
// CHECK-NEXT: override public init(x: @escaping (T) -> T)
|
||||
// CHECK-NEXT: override public init<A>(_ a1: A, _ a2: A)
|
||||
// CHECK-NEXT: override public init<C>(_ argument: C) where C : main.Base<T, T>
|
||||
// CHECK-NEXT: override public init<C>(_ __argument1: C) where C : main.Base<T, T>
|
||||
// CHECK-NEXT: {{(@objc )?}}deinit
|
||||
// CHECK-NEXT: }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user