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

evaluate::AttachDeclaration() doesn't work with derived types defined in modules #1106

Open
psteinfeld opened this issue Apr 8, 2020 · 0 comments

Comments

@psteinfeld
Copy link
Collaborator

When a derived type is declared in a separate module file, the function
"evaluate::AttachDeclaration()" doesn't find the source provenance information
for the base derived type.

From what I can tell, it looks like the is no UseDetails information assoicated
with the symbol, and things go south from there.

I've attached three files -- m.f90.txt, which is the module that defines the
derived type, bug.f90.txt, which is the source file that erroneously references the
derived type, and bug.log, which contains the output from the compiler when
"AttachDeclaration()" is called on the symbol associated with the type
"coarrayType" that's defined in m.f90.

bug.f90.txt
bug.log
m.f90.txt

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

No branches or pull requests

1 participant