Pitch: Eliding commas from multiline expression lists

Here's a similar example from earlier in the thread that isn't unreasonable and is likely to confuse unless you have a strong understanding of how prefix and infix operators work in Swift.

@Douglas_Gregor made a great argument about the similarities between semicolon elision and comma elision, and everyone accepts that it's not technically ambiguous, but there are key differences in the possible warning behaviour that are being glossed over. How important you find good warnings in cases like these will affect how acceptable this pitch is to you.

2 Likes