-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
Overloading assignment and compound assignment operators is silently ignored #6903
Comments
duplicates #5738 |
Well, not quite. This issue could quite easily be resolved by issuing an error message that |
I'd rather have it allow overloading the different assignments operators really. I didn't know about the other issue, but I guess that while I do agree with what has been said in it, this one can become a different one (the fail shouldn't be silent). |
@matrefeytontias I believe also the 'precedence of operators' is also predefined so if you where to try abstracting around a float and swap |
https://try.haxe.org/#D769b
The text was updated successfully, but these errors were encountered: