mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Swift's language model doesn't guarantee that type metadata will ever really be used, which makes overriding initialize() error-prone and not really any better than manually invoking an initialization function. Warn about this for Swift 3 compatibility and reject attempts to override +initialize in Swift 4.
1.7 KiB
1.7 KiB