mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Before adding implicit initializers synthesizes a new initializer, make sure that we’ve validated the current class declaration to determine it’s generic signature. Fixes rdar://problem/44235762.
8 lines
76 B
Swift
8 lines
76 B
Swift
class A {
|
|
init(foo: Int) { }
|
|
init(other: Int) { }
|
|
}
|
|
|
|
|
|
class B<T>: A { }
|