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
Here's a similar example that uses another nested struct instead of a typealias. This example also does not produce any errors but should:
structOuter{privatestructInner{privatestructInnerPrivateType{}// the declaration of innerProperty has an access level// greater than its type which should not be allowedvarinnerProperty=InnerPrivateType()}// outerProperty is of type Outer.Inner.InnerPrivateType// which is obviously outside the scope of Inner// and also should not be allowedprivatevarouterProperty=Inner().innerProperty
}
The text was updated successfully, but these errors were encountered:
Attachment: Download
Environment
Xcode 8 Beta 6, Xcode 8 GM Seed
Additional Detail from JIRA
md5: e1d5b277addb554d1b13990a20f8c9dd
relates to:
Issue Description:
The following specific example from SE-0025 is supposed to be illegal but doesn't produce any errors.
Here's a similar example that uses another nested struct instead of a typealias. This example also does not produce any errors but should:
The text was updated successfully, but these errors were encountered: