This PR generalizes the previous allowIncompleteMethodArgs and introduces the concept of "list inputs". A list input is any time an expression expects a variable number of inputs, typically (but not always) separated by commas. It does not include fixed inputs, such as the inputs to a binary operator.
A list of list inputs:
Method arguments for all types of method call expression. A couple of these were missing allowIncompleteMethodArgs last time so I added them.
The initializer list in array literals.
The dimensions inside of a new array expression. This is perhaps the most controversial of the list, we can discuss whether this is a good idea.
This PR generalizes the previous
allowIncompleteMethodArgs
and introduces the concept of "list inputs". A list input is any time an expression expects a variable number of inputs, typically (but not always) separated by commas. It does not include fixed inputs, such as the inputs to a binary operator.A list of list inputs:
allowIncompleteMethodArgs
last time so I added them.