We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cedc0b5 commit 3c1e8faCopy full SHA for 3c1e8fa
lib/AST/GenericSignatureBuilder.cpp
@@ -4632,8 +4632,8 @@ ConstraintResult GenericSignatureBuilder::addTypeRequirement(
4632
4633
bool shouldOfferFixit = false;
4634
if (auto GTPT = subjectType->getAs<GenericTypeParamType>()) {
4635
- shouldOfferFixit = dyn_cast<ExtensionDecl>(GTPT->getDecl()
4636
- ->getDeclContext());
+ shouldOfferFixit = isa<ExtensionDecl>(GTPT->getDecl()
+ ->getDeclContext());
4637
}
4638
4639
if (shouldOfferFixit) {
0 commit comments