The current behavior is: if the last list element expression is a spread, the parser will not check the rest element whether contains a spread expression.
This PR adds a spread element check when the last list element is a spread.
Please see #670 for more details.
The current behavior is: if the last list element expression is a spread, the parser will not check the rest element whether contains a spread expression. This PR adds a spread element check when the last list element is a spread. Please see #670 for more details.