mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #81522 from slavapestov/fix-rdar151162470
AST: Fix two bugs with SelfProtocolConformance
This commit is contained in:
@@ -918,9 +918,7 @@ public:
|
||||
}
|
||||
|
||||
ProtocolConformanceRef getAssociatedConformance(Type assocType,
|
||||
ProtocolDecl *protocol) const{
|
||||
llvm_unreachable("self-conformances never have associated types");
|
||||
}
|
||||
ProtocolDecl *protocol) const;
|
||||
|
||||
bool hasWitness(ValueDecl *requirement) const {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user