Re: [swift-evolution] Rules for structs default/memberwise initializers

2017-02-15 Thread Dimitri Racordon via swift-evolution
Thanks Matthew. That’s a quite elaborated proposal! I’ll be sure to keep an eye on it as we move forward. Dimitri On 15 Feb 2017, at 16:57, Matthew Johnson > wrote: Hi Dimitri, You may be interested in taking a look at a proposal I

Re: [swift-evolution] Rules for structs default/memberwise initializers

2017-02-15 Thread Matthew Johnson via swift-evolution
Hi Dimitri, You may be interested in taking a look at a proposal I introduced about a year ago which was deferred. Memberwise initialization is a topic we intend to revisit eventually. This may happen in phase 2 of the Swift 4 effort, or may not happen until Swift 5.

[swift-evolution] Rules for structs default/memberwise initializers

2017-02-15 Thread Dimitri Racordon via swift-evolution
Hello community! While writing a Swift introduction tutorial for students, I’ve been stumbling upon the rules for struct default and memberwise initializers. I failed to find explanations in Apple’s language guide, but as far as I could observe, I think the rules don’t fit interesting