-
Notifications
You must be signed in to change notification settings - Fork 4
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
[fortran] Fix for function declarations in derived types #834
Conversation
… into vraymond/photo_mod_fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I noticed some TODOs in the comments for the changed files. I figured I would point them out in case you need to resolve these for this PR, or more likely they're for later?
@titomeister - I've updated the branch to remove the unneeded todos. Some were resolved by this fix and others are just left over things from previously. |
## Summary of Changes There was a bug discovered in the CTSM source PhotosynthesisMod.F90 where a function is declared in a derived type but defined in the outer module. This PR updates the variable context to support this case. Additionally resolves a bug where function declarations and definitions can have different case sensitivity. ### Related issues Resolves ??? --------- Co-authored-by: titomeister <[email protected]> 156e193
Summary of Changes
There was a bug discovered in the CTSM source PhotosynthesisMod.F90 where a function is declared in a derived type but defined in the outer module. This PR updates the variable context to support this case.
Additionally resolves a bug where function declarations and definitions can have different case sensitivity.
Related issues
Resolves ???