On 4/28/16 00:00, Erica Sadun via swift-evolution wrote: >> On Apr 27, 2016, at 3:00 PM, Alex Martini via swift-evolution >> <[email protected]> wrote: >> A comma is already allowed after the last element in an array or dictionary >> literal: > > And is very appreciated!! I wish the same courtesy were extended to parameter > lists.
In general, I wish that in all such situations — when the parser expects _either_ a comma or a closing token — it would be acceptable to use a line break instead of the comma, or _both_ comma and closing token. In analogy to statements, which can be delimited by semicolons or line breaks. -- Rainer Brockerhoff <[email protected]> Belo Horizonte, Brazil "In the affairs of others even fools are wise In their own business even sages err." http://brockerhoff.net/blog/ _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
