Files
swift-mirror/test/multifile/Inputs/inherited-inits-other.swift
Doug Gregor 8af269aca5 [Type checker] Make sure we have a generic signature when inheriting initializers.
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.
2018-09-08 10:21:55 -07:00

8 lines
76 B
Swift

class A {
init(foo: Int) { }
init(other: Int) { }
}
class B<T>: A { }