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 7786ac8 commit 560debfCopy full SHA for 560debf
lib/Sema/TypeCheckDecl.cpp
@@ -4453,14 +4453,6 @@ void TypeChecker::requestMemberLayout(ValueDecl *member) {
4453
if (auto *protocolDecl = dyn_cast<ProtocolDecl>(dc))
4454
requestNominalLayout(protocolDecl);
4455
4456
- if (auto ext = dyn_cast<ExtensionDecl>(dc)) {
4457
- if (ext->getSelfClassDecl()) {
4458
- // Finalize members of class extensions, to ensure we compute their
4459
- // @objc and dynamic state.
4460
- DeclsToFinalize.insert(member);
4461
- }
4462
4463
-
4464
// If this represents (abstract) storage, form the appropriate accessors.
4465
if (auto storage = dyn_cast<AbstractStorageDecl>(member)) {
4466
validateAbstractStorageDecl(*this, storage);
0 commit comments