-
Notifications
You must be signed in to change notification settings - Fork 1.7k
BigInt doesn't support ++
and --
#50216
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
Comments
/cc @lrhn |
That's because Nothing much we can do about that without changing the parameter type of No current plan to change the behavior. |
I get why this isn't working, but why can't we change |
We could special-case Doing so will be a language change, which requires the special case to be implemented in all our tools. It's not just a quick library change. I'd loathe to introduce special casing, and then not get anything from it other than helping Maybe:
I don't think we'll actually do this (probably still too low reward for the effort, there are other higher-priority things to do to the language.) |
Thanks, that sounds reasonable, if it's a priority thing, can we leave this issue open? |
We can keep it open as a request for allowing user-classes to use |
Thank you! |
bigint in js supports it
The text was updated successfully, but these errors were encountered: