Skip to content

Fix return type for prefix operator++ and operator-- #332

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

Merged
merged 2 commits into from
Aug 18, 2025

Conversation

mingxwa
Copy link
Member

@mingxwa mingxwa commented Aug 14, 2025

Like assignment operators, accessors for operator ++ and -- should return a reference to the current proxy object when they are used in the prefix form.

@mingxwa mingxwa requested review from tian-lt and guominrui August 14, 2025 05:15
@mingxwa mingxwa merged commit 38685d4 into microsoft:main Aug 18, 2025
9 checks passed
@mingxwa mingxwa deleted the user/mingxwa/unary-operator-accessor branch August 18, 2025 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants