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 0f3ac3e commit c710950Copy full SHA for c710950
lib/SIL/IR/SIL.cpp
@@ -361,10 +361,10 @@ bool AbstractStorageDecl::exportsPropertyDescriptor() const {
361
}
362
363
364
-
365
- // TODO: Global and static properties ought to eventually be referenceable
366
- // as key paths from () or T.Type too.
367
- if (!getDeclContext()->isTypeContext() || isStatic())
+
+ // TODO: Global properties ought to eventually be referenceable
+ // as key paths from ().
+ if (!getDeclContext()->isTypeContext())
368
return false;
369
370
// Protocol requirements do not need property descriptors.
0 commit comments