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.
2 parents 26461ad + 4165e12 commit c082096Copy full SHA for c082096
lib/SIL/Mangle.cpp
@@ -53,8 +53,10 @@ void GenericSpecializationMangler::mangleSpecialization() {
53
auto SubMap = Sig->getSubstitutionMap(Subs);
54
Sig->enumeratePairedRequirements(
55
[&](Type depTy, ArrayRef<Requirement> reqts) {
56
- if (depTy->is<GenericTypeParamType>())
57
- M.mangleType(depTy.subst(SubMap)->getCanonicalType(), 0);
+ if (!depTy->is<GenericTypeParamType>())
+ return false;
58
+
59
+ M.mangleType(depTy.subst(SubMap)->getCanonicalType(), 0);
60
61
for (auto reqt : reqts) {
62
auto conformance = SubMap.lookupConformance(
0 commit comments