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

Value: add Enum and negative int support to bitCast packed struct #12849

Closed
wants to merge 1 commit into from

Conversation

kkHAIKE
Copy link
Contributor

@kkHAIKE kkHAIKE commented Sep 15, 2022

fix #12468

'field_bigint_const' must not be negative in 'packedStructToInt', it will cause shift and bitOr result invalid, so add twos-complement transform with 'packedStructToInt' and 'intToPackedStruct'.

😊

@Vexu
Copy link
Member

Vexu commented Oct 20, 2022

Superceded by #13124 and #13221

@Vexu Vexu closed this Oct 20, 2022
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.

stage2: panic from packedStructToInt
2 participants