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

Bugfix macroprop arithmetic operator overloads shouldn't change the macroprop #738

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Nov 23, 2021

Both the updated tests now pass (windows/debug), and initially failed.

Have checked the user guide and it doesn't need updating, it only discusses type limitations for the none overloaded fns (min, max etc).

@Robadob Robadob added the bug label Nov 23, 2021
@Robadob Robadob requested a review from MILeach November 23, 2021 15:49
@Robadob Robadob self-assigned this Nov 23, 2021
@Robadob Robadob force-pushed the bugfix_macroprop_artihmetic branch from 4d1e461 to 59f1291 Compare November 24, 2021 09:13
When using operator+() and operator-() on MacroProperties,
the value of the macro property would be mutated.
This has now been resolved, and tests updated,
to confirm the value of the MacroProperty is unchanged.
@Robadob Robadob force-pushed the bugfix_macroprop_artihmetic branch from 59f1291 to 5a11d56 Compare November 24, 2021 09:15
@mondus mondus merged commit 52f52ff into master Nov 24, 2021
@mondus mondus deleted the bugfix_macroprop_artihmetic branch November 24, 2021 13:38
@ptheywood ptheywood added this to the v2.0.0-alpha.2 milestone Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants