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

Allow forward references to procedure interfaces in derived types (fi… #580

Merged
merged 3 commits into from Jul 16, 2019

Conversation

klausler
Copy link
Collaborator

…xing #571 more)

An earlier change fixed up forward references in procedure() interfaces outside derived types. This change completes the job so that forward references can also be used within derived types.

Say(symbol.name(),
"The interface of '%s' (%s) is not an abstract interface or a "
"procedure with an explicit interface"_err_en_US,
symbol.name(), interface->name());
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the interface name should be in quotes too, since it's a name from the user program.

@klausler
Copy link
Collaborator Author

Also fixes #579.

@klausler klausler merged commit 8c63aa9 into master Jul 16, 2019
@klausler klausler deleted the pmk-fixes branch July 16, 2019 23:06
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
Original-commit: flang-compiler/f18@eefbcdc
Reviewed-on: flang-compiler/f18#580
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
…/pmk-fixes

Allow forward references to procedure interfaces in derived types (fi…

Original-commit: flang-compiler/f18@8c63aa9
Reviewed-on: flang-compiler/f18#580
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Original-commit: flang-compiler/f18@eefbcdc
Reviewed-on: flang-compiler/f18#580
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
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.

None yet

2 participants