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: Linearity checking bug #355

Merged
merged 1 commit into from
Jul 31, 2024
Merged

fix: Linearity checking bug #355

merged 1 commit into from
Jul 31, 2024

Conversation

mark-koch
Copy link
Collaborator

Fixes #354.

When checking for unused linear variables, we should look at all variables in scope, not only the ones that were defined in the current BB

@mark-koch mark-koch requested a review from a team as a code owner July 31, 2024 08:45
@mark-koch mark-koch requested a review from ss2165 July 31, 2024 08:45
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@d343763). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #355   +/-   ##
=======================================
  Coverage        ?   92.42%           
=======================================
  Files           ?       45           
  Lines           ?     5150           
  Branches        ?        0           
=======================================
  Hits            ?     4760           
  Misses          ?      390           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mark-koch mark-koch added this pull request to the merge queue Jul 31, 2024
Merged via the queue into main with commit e14660f Jul 31, 2024
3 checks passed
@mark-koch mark-koch deleted the fix/linearity branch July 31, 2024 09:34
github-merge-queue bot pushed a commit that referenced this pull request Aug 8, 2024
🤖 I have created a release *beep* *boop*
---


## [0.8.1](v0.8.0...v0.8.1)
(2024-08-08)


### Bug Fixes

* Fix invalid result operation name
([#367](#367))
([568624d](568624d))
* Linearity checking bug
([#355](#355))
([e14660f](e14660f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

Linearity checking bug
3 participants