-
Notifications
You must be signed in to change notification settings - Fork 75
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
handling __add__
and others via a means
#33
Comments
Documentation? you mean some kind of comment? |
Transcrypt marks the regions of code containing the aritmetic expressions so that the transpiler knows when to transform them so that any possible per-type override is taken into consideration. The best thing to do though would be for the transpiler to recognize via type hints that |
Python supports operator overriding, js does not. Perhaps there is a way to achieve this using some means. Documentation comes to mind, maybe comments, what else could potentially be used?
The text was updated successfully, but these errors were encountered: