Skip to content

Commit e28b0ec

Browse files
committed
Frontend: Remove a usage of DeclContext::getGenericParamsOfContext()
1 parent 544e0a0 commit e28b0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/ParseableInterfaceSupport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ class InheritedProtocolCollector {
814814
protoTy->print(out, printOptions);
815815
}, [&out] { out << ", "; });
816816
out << " where "
817-
<< nominal->getGenericParamsOfContext()->getParams().front()->getName()
817+
<< nominal->getGenericSignature()->getGenericParams().front()->getName()
818818
<< " : " << DummyProtocolName << " {}\n";
819819
return true;
820820
}

0 commit comments

Comments
 (0)