This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with compound assignment operators
- Fix issue with compound assignment operators and potentially other things modifying a value before it is used in a binary expression. This was causing incorrect results in expressions like `float s = 5; s = s * (s -= 3);` because the s -= 3 would be executed before the multiply so the result would be 4 whereas the expected result was 10.
- Loading branch information