You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error message of spread arguments should be got 0 or more #20097
Expected 0 arguments, but got 0 or more. does not make grammatical sense. While, after the spread, it results in no additional arguments, passing a spread argument, is a argument, so the error it stands is grammatically correct.
Activity
falsandtru commentedon Nov 17, 2017
Not correct.
falsandtru commentedon Nov 17, 2017
This error is correct but its error message is not correct.
kitsonk commentedon Nov 17, 2017
Expected 0 arguments, but got 0 or more.does not make grammatical sense. While, after the spread, it results in no additional arguments, passing a spread argument, is a argument, so the error it stands is grammatically correct.sandersn commentedon Nov 17, 2017
falsandtru (@falsandtru) please read the explanation in #20071 — it is technically incorrect but easier to understand for the common case.