Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the rest of the spread syntax errors #1952

Closed
chenglou opened this issue May 24, 2018 · 1 comment
Closed

Fix the rest of the spread syntax errors #1952

chenglou opened this issue May 24, 2018 · 1 comment

Comments

@chenglou
Copy link
Member

Thanks to #1925, we now have pretty good wrong list spread errors. These are still remaining:

  • list spread pattern
  • record spread {a, ...r}
  • record spread pattern {a, ...r}
  • array spread
  • array spread pattern

As an aside, I'm convinced that #1925's way of fixing it is right (cc @cristianoc @IwanKaramazow). Because if we ever need to support those currently unsupported spread patterns, it'll be easy to unlock that. Simpler code for current maintenance too, so win-win.

@IwanKaramazow
Copy link
Contributor

I'll take care of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants