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: Fix lowering of list.__len__ #577

Merged
merged 1 commit into from
Oct 17, 2024
Merged

fix: Fix lowering of list.__len__ #577

merged 1 commit into from
Oct 17, 2024

Conversation

mark-koch
Copy link
Collaborator

Now that CQCL/hugr#1543 is fixed, we can use the correct op for list length lowering

@mark-koch mark-koch requested a review from a team as a code owner October 17, 2024 17:09
@mark-koch mark-koch requested a review from acl-cqc October 17, 2024 17:09
elem_type,
[list_type],
[list_type, ht.Either([elem_type], [ht.Unit])],
"length", elem_type, [list_type], [list_type, ht.USize()]
Copy link
Collaborator

Choose a reason for hiding this comment

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

-.-'

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.68%. Comparing base (7a9d5da) to head (03238c7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #577      +/-   ##
==========================================
+ Coverage   91.62%   91.68%   +0.06%     
==========================================
  Files          59       59              
  Lines        6268     6280      +12     
==========================================
+ Hits         5743     5758      +15     
+ Misses        525      522       -3     

☔ 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 Oct 17, 2024
Merged via the queue into main with commit c698b43 Oct 17, 2024
3 checks passed
@mark-koch mark-koch deleted the fix/list-len branch October 17, 2024 17:27
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