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

Alternative (escaping?) operator suggestion #15

Open
ghost opened this issue Feb 6, 2016 · 1 comment
Open

Alternative (escaping?) operator suggestion #15

ghost opened this issue Feb 6, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 6, 2016

Hello. I suggest alternative operator, that does not used in overloading.

c = a $[+] b; //Not overloadable operator, but this is plus

Also, how to overload assign operator?

@kushal-likhi
Copy link
Collaborator

Ah! ok so you mean when we need to do actual + in case its overloaded.
I think we need a lexically correct JS syntax to mark it. Because we do not want base AST parser to fail.

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

No branches or pull requests

1 participant