Skip to content

Conversation

@everythingfunctional
Copy link
Member

Programs can now use modules in subdirectories from their location. I.e. a program app/main.f90 can use a module app/sub_dir/mod.f90. This applies to tests and examples as well.

Fix #408

@everythingfunctional
Copy link
Member Author

Sorry about the noisy change set. My editor is set to automatically remove trailing whitespace.

Copy link
Member

@LKedward LKedward 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 all looks good to me. My only request is are you able to add a failing test for a program using a module in a parent directory, to cover all conditions.

@everythingfunctional
Copy link
Member Author

I've added the test and updated the doc string as suggested. Thanks for the great reviews guys. I'll give you guys a few hours in case you want to double check the changes and merge later today.

@everythingfunctional everythingfunctional merged commit b988fe8 into fortran-lang:master Mar 29, 2021
@everythingfunctional everythingfunctional deleted the allow-programs-access-to-subdirectories branch November 3, 2021 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot Find Modules in Subdirectories of Tests or Executables

4 participants