Skip to content

Add support for empty if blocks #251

Merged
TheGupta2012 merged 1 commit intomainfrom
allow-empty-if
Aug 19, 2025
Merged

Add support for empty if blocks #251
TheGupta2012 merged 1 commit intomainfrom
allow-empty-if

Conversation

@TheGupta2012
Copy link
Copy Markdown
Member

Fixes #246

Summary of changes

  • This pull request updates the handling of if statement validation in pyqasm to allow empty if blocks.
  • The changes include modifications to the validator logic, new tests to ensure empty blocks are accepted, and updates to the changelog and test coverage.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TheGupta2012 TheGupta2012 merged commit a572bec into main Aug 19, 2025
21 checks passed
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.

[BUG] Allow empty if blocks

2 participants