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

compiler: Tweak check_stability to ensure cleanup is performed #2335

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.67%. Comparing base (7b7b1eb) to head (adc0389).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2335   +/-   ##
=======================================
  Coverage   86.67%   86.67%           
=======================================
  Files         232      232           
  Lines       43426    43442   +16     
  Branches     8061     8062    +1     
=======================================
+ Hits        37639    37653   +14     
- Misses       5082     5084    +2     
  Partials      705      705           

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

if o.body.retstmt:
retval = []
else:
retval = [c.Line(), c.Statement("return 0")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can probably be made a default retstmt but can be done alter

Copy link
Contributor

@EdCaunt EdCaunt left a comment

Choose a reason for hiding this comment

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

Looks good

@mloubout mloubout merged commit fe47e96 into master Mar 21, 2024
31 checks passed
@mloubout mloubout deleted the tweak-error-handling branch March 21, 2024 22:47
mloubout added a commit that referenced this pull request Mar 28, 2024
compiler: Tweak check_stability to ensure cleanup is performed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants