You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-4559 Method called 'self' can be confused with regular 'self'
Issue Description:
Swift 3 forbids to use static members without qualifier in instance context. But it's still allowed to use static properties in initializers of instance properties (though it's forbidden to use static methods there)
I don't recall this exact problem, but it's related to the problems with referring to `self` in `lazy` property initializers. The initializer expressions are evaluated as if they're in static rather than instance context, with some not-terribly-principled hacks to try to use instance context in certain situations.
Additional Detail from JIRA
md5: c9706e2038e23de6e1ecffd1c78b09da
relates to:
Issue Description:
Swift 3 forbids to use static members without qualifier in instance context. But it's still allowed to use static properties in initializers of instance properties (though it's forbidden to use static methods there)
An example:
The text was updated successfully, but these errors were encountered: