> On Feb 12, 2017, at 21:52, Slava Pestov via swift-evolution > <[email protected]> wrote: > > Also, note that there will be at least one other similar annotation, but for > structs — the evolution document calls it @fixedContents. We want a way to > declare that the set of stored properties in a struct will never change, > allowing clients to make assumptions about its layout. Unlike @closed enums, > @fixedContents structs mostly behave the same. The one important difference > is that it will be possible to define designated initializers of > @fixedContents structs inside extensions from another module.
The "@fixedContents mostly doesn't change the behavior of a struct" makes me think it is unimportant for these two annotations to have the same name. Jordan _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
