Bad things: Extension Access Control

1 · Erica Sadun · Feb. 14, 2019, 6:29 p.m.
Swift extends the courtesy of an access control annotated extension to its top level members. I’m going to call this “inheritance”, but I know there’s a better name for this but I just don’t know what it is. Consider the following: // Base type is public public struct MyStruct {} // Here, the extension is […]...