Skip to content

Commit 31947d0

Browse files
committed
RemoteInspection: Fix latent bug in TypeRefIsConcrete::visitOpaqueArchetypeTypeRef()
1 parent 6baa3de commit 31947d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stdlib/public/RemoteInspection/TypeRef.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,13 @@ struct TypeRefIsConcrete
506506
}
507507

508508
bool visitOpaqueArchetypeTypeRef(const OpaqueArchetypeTypeRef *O) {
509+
for (auto Args : O->getArgumentLists()) {
510+
for (auto *Arg : Args) {
511+
if (!visit(Arg))
512+
return false;
513+
}
514+
}
515+
509516
return false;
510517
}
511518

0 commit comments

Comments
 (0)