mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Disallow conforming to ObjC protocols with requirements that can't be imported.
For example, variadic ObjC method requirements. <rdar://problem/17366999> Swift SVN r19121
This commit is contained in:
@@ -1770,6 +1770,7 @@ ProtocolDecl::ProtocolDecl(DeclContext *DC, SourceLoc ProtocolLoc,
|
||||
ProtocolDeclBits.KnownProtocol = 0;
|
||||
ProtocolDeclBits.Circularity
|
||||
= static_cast<unsigned>(CircularityCheck::Unchecked);
|
||||
ProtocolDeclBits.HasMissingRequirements = false;
|
||||
}
|
||||
|
||||
bool ProtocolDecl::inheritsFrom(const ProtocolDecl *Super) const {
|
||||
|
||||
Reference in New Issue
Block a user