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

Sanitise: Update scope on unchanged expressions in remove_associates #439

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

mlange05
Copy link
Collaborator

The default case is the one, where the symbol is associates by the closest associate, but that associates is about to be removed. So we simply update the scope to ensure nothing becomes unscoped.

Note, I believe this should fix issue #438 . The PR includes a much simplified test case.

The default case is the one, where the symbol is associates by the
closest associate, but that associates is about to be removed. So
we simply update the scope to ensure nothings becomes unscoped.
@mlange05 mlange05 requested a review from reuterbal November 17, 2024 05:34
Copy link

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/439/index.html

Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.23%. Comparing base (00d4290) to head (387e05f).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   93.23%   93.23%           
=======================================
  Files         212      212           
  Lines       40259    40281   +22     
=======================================
+ Hits        37535    37558   +23     
+ Misses       2724     2723    -1     
Flag Coverage Δ
lint_rules 96.39% <ø> (ø)
loki 93.19% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

Copy link
Collaborator

@reuterbal reuterbal left a comment

Choose a reason for hiding this comment

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

Many thanks, this looks great and has been confirmed to fix the reported issue!

@reuterbal reuterbal linked an issue Nov 19, 2024 that may be closed by this pull request
@reuterbal reuterbal added the ready to merge This PR has been approved and is ready to be merged label Nov 19, 2024
@reuterbal reuterbal merged commit 97d0943 into main Nov 19, 2024
13 checks passed
@reuterbal reuterbal deleted the naml-fix-resolve-associate-scopes branch November 19, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge This PR has been approved and is ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug with statement functions
2 participants