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

Improve representation of procedure pointers (fix #393) #399

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

reuterbal
Copy link
Collaborator

This was triggered by the fgen issue reported in #393. This looked first like the issue was simply that we did not account for the case that procedure information might be missing when generating the code for procedure declarations.

However, while trying to sort this out across frontends, I noticed that it should be perfectly possible to recognize the interface as a procedure in this situation, and that the handling of procedure types for symbols declared in procedure declarations was very inconsistent and partially wrong. This should fix this discrepancy.

@reuterbal reuterbal linked an issue Oct 14, 2024 that may be closed by this pull request
Copy link

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

@reuterbal reuterbal force-pushed the 393-problem-with-procedure-pointers branch from 0da240f to 98ee8ca Compare October 14, 2024 15:01
@reuterbal reuterbal marked this pull request as draft October 14, 2024 15:31
@reuterbal reuterbal force-pushed the 393-problem-with-procedure-pointers branch from c71c308 to f052f73 Compare October 14, 2024 16:13
@reuterbal reuterbal marked this pull request as ready for review October 14, 2024 16:56
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.58%. Comparing base (52a8dd8) to head (f052f73).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #399      +/-   ##
==========================================
+ Coverage   95.54%   95.58%   +0.04%     
==========================================
  Files         188      201      +13     
  Lines       39471    39847     +376     
==========================================
+ Hits        37711    38087     +376     
  Misses       1760     1760              
Flag Coverage Δ
lint_rules 96.39% <ø> (ø)
loki 95.56% <100.00%> (+0.04%) ⬆️

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.

Copy link
Collaborator

@mlange05 mlange05 left a comment

Choose a reason for hiding this comment

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

Very neatly done. Looks good, GTG. :shipit:

@mlange05 mlange05 added the ready for merge This PR has been approved and is ready to be merged label Oct 16, 2024
@reuterbal reuterbal merged commit d90b5a7 into main Oct 17, 2024
13 checks passed
@reuterbal reuterbal deleted the 393-problem-with-procedure-pointers branch October 17, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for 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.

problem with procedure pointers
2 participants