Skip to content

Fix asuint operator when applied to int values. #4

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

Conversation

jimblandy
Copy link
Collaborator

Bother to mark the APSInt result as unsigned, to avoid tripping IntExprEvaluator::Success's assertion that SI.isSigned() matches E's type.

@jimblandy
Copy link
Collaborator Author

Filed upstream as microsoft#7396.

Bother to mark the APSInt result as unsigned, to avoid tripping
IntExprEvaluator::Success's assertion that SI.isSigned() matches E's
type.

Fixes microsoft#7395.
@jimblandy jimblandy force-pushed the fx-asuint-int-result-sign branch from 04027a4 to 9b08c38 Compare May 2, 2025 02:14
@jimblandy
Copy link
Collaborator Author

Added a test.

@jimblandy
Copy link
Collaborator Author

This has been approved by one reviewer upstream, so I'm going to land it.

@jimblandy jimblandy merged commit 81378be into FirefoxGraphics:moz-1.8.2502 May 13, 2025
@jimblandy jimblandy deleted the fx-asuint-int-result-sign branch May 13, 2025 21:21
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.

2 participants