mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove implicit conversion from Witness to ConcreteDeclRef
This commit is contained in:
@@ -1642,7 +1642,7 @@ void Serializer::writeDefaultWitnessTable(const ProtocolDecl *proto,
|
||||
unsigned abbrCode = abbrCodes[DefaultWitnessTableLayout::Code];
|
||||
for (auto member : proto->getMembers()) {
|
||||
if (auto *value = dyn_cast<ValueDecl>(member)) {
|
||||
ConcreteDeclRef witness = proto->getDefaultWitness(value);
|
||||
auto witness = proto->getDefaultWitness(value);
|
||||
if (!witness)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user