Skip to content

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