Skip to content

fix[venom]: fix DominatorTreeAnalysis.dominates()#4615

Merged
charles-cooper merged 2 commits intovyperlang:masterfrom
charles-cooper:fix/dominates
Apr 28, 2025
Merged

fix[venom]: fix DominatorTreeAnalysis.dominates()#4615
charles-cooper merged 2 commits intovyperlang:masterfrom
charles-cooper:fix/dominates

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

the arguments were switched. this was unnoticed before since dominates() was unused, but is wrong if you want to use dominates() API instead of accessing the .dominators data structure directly

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

the arguments were switched. this was unnoticed before since
`dominates()` was unused, but is wrong if you want to use `dominates()`
API instead of accessing the `.dominators` data structure directly
@charles-cooper charles-cooper marked this pull request as ready for review April 28, 2025 10:39
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 28, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.49%. Comparing base (59baa1b) to head (650c3ed).
⚠️ Report is 60 commits behind head on master.

Files with missing lines Patch % Lines
vyper/venom/analysis/dominators.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4615   +/-   ##
=======================================
  Coverage   92.49%   92.49%           
=======================================
  Files         128      128           
  Lines       18506    18506           
  Branches     3208     3208           
=======================================
  Hits        17118    17118           
  Misses        944      944           
  Partials      444      444           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@charles-cooper charles-cooper enabled auto-merge (squash) April 28, 2025 17:32
@charles-cooper charles-cooper merged commit f140a9c into vyperlang:master Apr 28, 2025
159 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.

2 participants