> On May 26, 2017, at 08:14, Robert Bennett via swift-evolution > <[email protected]> wrote: > > Alternatively, for maximum consistency we could make "{ arg in ..." illegal > as well, requiring parentheses around "arg". This would mirror the > parentheses necessary in e.g., "let f: (Int) -> Int", and there would be no > confusion as to why " { arg in ..." is legal but not "{ (key, value) in ...".
I think I would support that. Until quite recently, I was under the impression that closures' "inner signatures" were part of that proposal, anyway. (Come to think of it... were they? I suppose it could be a bug that the "old" syntax is still accepted here.) - Dave Sweeris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
