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

transpile: allow expressions in compound literals for structs #1188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yeaseen
Copy link
Contributor

@Yeaseen Yeaseen commented Dec 8, 2024

This pull request resolves ✅ c2rust fails to handle increment or decrement operations within compound literals #1165

Modification:

This test ensures that expressions, such as j++, are correctly evaluated during struct initialization using compound literals. The test has been integrated into the existing test suite and passed successfully, confirming the fix.

Please review the changes and provide feedback or approve the pull request. If further modifications are required, I am open to suggestions and will make the necessary adjustments.

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.

1 participant