mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Follow-up to 49c65facc9 to account for subclasses. An unavailable
-init makes +new unavailable, but reintroducing it in a subclass
should reintroduce +new if the root class is NSObject (where +new is
implemented).
rdar://problem/35914080