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 581849f commit 7012d6fCopy full SHA for 7012d6f
lib/Sema/TypeCheckDeclPrimary.cpp
@@ -2302,11 +2302,9 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
2302
if (auto superclass = CD->getSuperclassDecl()) {
2303
// Actors cannot have superclasses, nor can they be superclasses.
2304
if (CD->isActor() && !superclass->isNSObject())
2305
- CD->diagnose(diag::actor_inheritance,
2306
- /*distributed=*/CD->isDistributedActor());
+ CD->diagnose(diag::actor_inheritance);
2307
else if (superclass->isActor())
2308
2309
2310
}
2311
2312
// Force lowering of stored properties.
0 commit comments