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
Sweet.js conflicts with ES6 spreads #715
Comments
I think you have a bug in your definition of operator $$ prefix 1 = (_, right) => {
return #`...${right}`;
}; |
Anyways
|
@capitalknew Sorry, I haven't had coffee yet. Your definition of |
This is not coffee script. This is SweetJS and ES6 (spreads usage) example. |
I know. I was talking about the drink 😄 I think this issue is related to on #650 (comment). It's good to have an issue specifically for it though. Thank you. |
operator $ prefix 1 = (right) => {
return #`${right}[0][${right}[1]]`;
}; is broken for a different reason. operator $ prefix 1 = (right) => {
var ptr = right.next().value;
return #`${ptr}[0][${ptr}[1]]`;
}; |
Also, try fix "..." operator, it really needs for ES6 today. |
You can try with online editor. I cannot using spreads with Sweet.
This code:
The text was updated successfully, but these errors were encountered: