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 a0c03d0 commit 1f46086Copy full SHA for 1f46086
lib/SILGen/SILGenType.cpp
@@ -494,8 +494,6 @@ class SILGenExtension : public TypeMemberVisitor<SILGenExtension> {
494
SGM.emitPropertyBehavior(vd);
495
if (vd->hasStorage()) {
496
assert(vd->isStatic() && "stored property in extension?!");
497
- ExtensionDecl *ext = cast<ExtensionDecl>(vd->getDeclContext());
498
- NominalTypeDecl *theType = ext->getExtendedType()->getAnyNominal();
499
return emitTypeMemberGlobalVariable(SGM, vd);
500
}
501
visitAbstractStorageDecl(vd);
0 commit comments