Skip to content

fix[venom]: revert-to-assert should invalidate dfg#4586

Merged
charles-cooper merged 2 commits intovyperlang:masterfrom
charles-cooper:revert-to-assert-invalidation
Apr 22, 2025
Merged

fix[venom]: revert-to-assert should invalidate dfg#4586
charles-cooper merged 2 commits intovyperlang:masterfrom
charles-cooper:revert-to-assert-invalidation

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

the revert-to-assert pass should invalidate the dfg. since cfg invalidation already invalidates the dfg, this commit is just for hygiene.

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 revert-to-assert pass should invalidate the dfg. since cfg
invalidation already invalidates the dfg, this commit is just for
hygiene.
self._rewrite_jnz(pred, bb)

self.analyses_cache.invalidate_analysis(CFGAnalysis)
self.analyses_cache.invalidate_analysis(DFGAnalysis)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You forgot to import DFGAnalysis

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.68%. Comparing base (e4e9d7c) to head (1a62856).
Report is 75 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4586   +/-   ##
=======================================
  Coverage   92.68%   92.68%           
=======================================
  Files         123      123           
  Lines       17575    17576    +1     
  Branches     2988     2988           
=======================================
+ Hits        16289    16290    +1     
  Misses        888      888           
  Partials      398      398           

☔ 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 merged commit d465289 into vyperlang:master Apr 22, 2025
161 checks passed
@charles-cooper charles-cooper deleted the revert-to-assert-invalidation branch April 22, 2025 09:15
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