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 c1adfed commit beb883fCopy full SHA for beb883f
lib/Sema/TypeCheckDecl.cpp
@@ -2248,14 +2248,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
2248
}
2249
2250
2251
- // FIXME: Temporary hack until capture computation has been request-ified.
2252
- if (VD->getDeclContext()->isLocalContext()) {
2253
- VD->visitOpaqueAccessors([&](AccessorDecl *accessor) {
2254
- if (accessor->isImplicit())
2255
- TC.definedFunctions.push_back(accessor);
2256
- });
2257
- }
2258
-
2259
// Under the Swift 3 inference rules, if we have @IBInspectable or
2260
// @GKInspectable but did not infer @objc, warn that the attribute is
2261
if (!VD->isObjC() && TC.Context.LangOpts.EnableSwift3ObjCInference) {
0 commit comments