Ok, that makes sense. -Thorsten
> Am 03.01.2016 um 00:24 schrieb Chris Lattner <clatt...@apple.com>: > > >> On Jan 2, 2016, at 2:48 PM, Thorsten Seitz <trs...@googlemail.com> wrote: >> >> One question just occurred to me: do we really need the keyword „memberwise“ >> anymore? Wouldn’t just using "init(…)“ be sufficient? > > It wouldn’t be necessary to make the parser work, but I think we’d want > something to make it clear what was intended. Otherwise, you could write: > > init(a : Int, …) > > when you meant: > init(a : Int …) > > and unfortunate things would happen. The memberwise keyword also makes it > much more clear to the reader what is going on. > > -Chris _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution