ecmwf-ifs / loki

Freely programmable source-to-source translation for Fortran
https://sites.ecmwf.int/docs/loki/
Apache License 2.0
22 stars 11 forks source link

ProgramUnit.resolve_typebound_var: raise error if top-level parent is not declared #325

Closed reuterbal closed 1 month ago

reuterbal commented 1 month ago

This fixes #307.

Piggy-backed is a small fix with test for missing enrichment between modules within the same source file, reported in #161.

github-actions[bot] commented 1 month ago

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

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 98.70130% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.19%. Comparing base (77114a9) to head (e9a2443). Report is 33 commits behind head on main.

Files Patch % Lines
loki/frontend/ofp.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #325 +/- ## ========================================== + Coverage 95.14% 95.19% +0.04% ========================================== Files 167 168 +1 Lines 35374 35717 +343 ========================================== + Hits 33657 34001 +344 + Misses 1717 1716 -1 ``` | [Flag](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/325/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | Coverage Δ | | |---|---|---| | [lint_rules](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | `96.39% <ø> (+0.01%)` | :arrow_up: | | [loki](https://app.codecov.io/gh/ecmwf-ifs/loki/pull/325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs) | `95.17% <98.70%> (+0.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf-ifs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.