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

[swf9] Fix UInt shift behavior #3899

Merged
merged 1 commit into from
Feb 22, 2015

Conversation

Herschel
Copy link
Contributor

AVM2 shift op always returns an int, even for e.g. UInt << Int. This change coerces them to the type of the first operand. Fixes #2736.

@Simn Simn added this to the 3.2 milestone Feb 22, 2015
ncannasse added a commit that referenced this pull request Feb 22, 2015
@ncannasse ncannasse merged commit 8580926 into HaxeFoundation:development Feb 22, 2015
@Herschel Herschel deleted the swf9-uint-shift branch June 28, 2015 01:48
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.

Some UInt calculations aren't unsigned
3 participants