mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Two of them are user-facing, with the following sort of message:
If you're seeing a crash here, check that your SDK and
dependencies match the versions used to build 'SwiftLib'
Prompted by rdar://problem/28282310, which took a while to figure out.
The added test case is a simplified version of the issue. (Obviously
we'd prefer to not crash here, but that's hard---there's an inherited
conformance that's no longer valid, and there may be generic types
depending on that conformance.)
12 lines
112 B
Objective-C
12 lines
112 B
Objective-C
@import Foundation;
|
|
|
|
@protocol SomeProto
|
|
@end
|
|
|
|
@interface Base: NSObject
|
|
#if USE_PROTO
|
|
<SomeProto>
|
|
#endif
|
|
|
|
@end
|