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 4fd8418 + 8c56805 commit a09058fCopy full SHA for a09058f
lib/Sema/TypeCheckType.cpp
@@ -1140,6 +1140,7 @@ static Type resolveIdentTypeComponent(
1140
1141
// Don't resolve the nested type if the parent is equal to the decl context
1142
// we are looking in.
1143
+ // FIXME: Should be fixed to allow inheriting from a nested type some day
1144
auto selfTypeBase = DC->getSelfTypeInContext().getPointer();
1145
if (DC->getAsClassOrClassExtensionContext() &&
1146
selfTypeBase && selfTypeBase->isEqual(parentTy)) {
0 commit comments