Skip to content

fixed #13743 - FP AssignmentAddressToInteger for double cast #7417

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

Merged
merged 3 commits into from
Apr 2, 2025

Conversation

firewave
Copy link
Collaborator

No description provided.

@firewave

This comment was marked as resolved.

Comment on lines -1347 to -1348
tok.varId(17);
tok.str("var1");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

str() clears the varid so this test was pointless.

@firewave firewave force-pushed the up-prop-zz branch 2 times, most recently from 18cb901 to 59360ae Compare April 1, 2025 20:29
@firewave firewave marked this pull request as ready for review April 1, 2025 20:30
@@ -8495,6 +8497,24 @@ class TestTokenizer : public TestFixture {
ASSERT_NO_THROW(tokenizeAndStringify(code));
ASSERT_EQUALS("void ( * const f ) ( ) ;", tokenizeAndStringify("typedef void (*fp_t)(); fp_t const f;"));
}

void simplifyPlatformTypes() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these tests go here? #7416

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They used to be there but I included them here to have more coverage of the various parts of the code which triggered the issue.

@chrchr-github chrchr-github merged commit 77b76aa into danmar:main Apr 2, 2025
60 checks passed
@firewave firewave deleted the up-prop-zz branch April 2, 2025 19:56
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