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

Fix bool attribute argument handling #6573

Merged
merged 2 commits into from
May 3, 2024

Conversation

tex3d
Copy link
Contributor

@tex3d tex3d commented Apr 30, 2024

Bool attribute argument values of true would be interpreted as -1 and generate a warning that it expects a uint literal argument.

This change translates bool expression to either 0 or 1 when translating to int, just as normal expression evaluation would.

Bool attribute argument values of true would be interpreted as -1 and
generate a warning that it expects a uint literal argument.

This change translates bool expression to either 0 or 1 when translating to
int, just as normal expression evaluation would.
@tex3d tex3d requested a review from a team as a code owner April 30, 2024 20:07
@tex3d tex3d enabled auto-merge (squash) May 3, 2024 20:49
@tex3d tex3d merged commit c7da630 into microsoft:release-preview-mesh-nodes May 3, 2024
13 checks passed
@tex3d tex3d deleted the fix-bool-attr-arg branch May 3, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants