Skip to content

Fix call stmt reporting #6191

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

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Apr 14, 2025

What was changed?

  • Removed some hacky code related to CallStmt and reporting, which was conflicting with a consumer of the binary API.

How has this been tested?

  • Refactoring that uses existing tests

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@keyboardDrummer keyboardDrummer marked this pull request as ready for review April 15, 2025 20:04
@keyboardDrummer keyboardDrummer enabled auto-merge (squash) April 15, 2025 20:36
Comment on lines 624 to 625
// This used to be 'a || OnlyFalse(a)'
// but that stopped working for unknown reason
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need follow-up?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know. I don't understand the test generation well enough to know what is expected behavior. I'll ask @robin-aws to have a look, maybe he knows.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like the test generation is sensitive to token centers and has a few calls to the CallStmt constructor for resolved statements that needed to be updated to preserve the old behavior. I've pushed a commit that fixes this test at least.

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.

3 participants