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 52e496d commit d7726dcCopy full SHA for d7726dc
lib/AST/TypeSubstitution.cpp
@@ -407,7 +407,7 @@ TypeSubstituter::transformOpaqueTypeArchetypeType(OpaqueTypeArchetypeType *opaqu
407
408
// If we return an opaque archetype unchanged, recurse into its substitutions
409
// as a special case.
410
- if (known->getCanonicalType() == opaque->getCanonicalType())
+ if (known.getPointer() == opaque)
411
return std::nullopt; // Recursively process the substitutions of the
412
// opaque type archetype.
413
return known;
0 commit comments