[flang-commits] [PATCH] D134402: [flang] Accept a separate module procedure interface as a specific procedure

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 22 07:01:24 PDT 2022


PeteSteinfeld requested changes to this revision.
PeteSteinfeld added a comment.
This revision now requires changes to proceed.

All builds and tests correctly and fixes the specified problem.  But we should have a test for the new error message.



================
Comment at: flang/lib/Semantics/check-declarations.cpp:1201
+        if (auto *msg{messages_.Say(specific.name(),
+                "Specific procedure '%s' of generic interface '%s' must have an explicit interface"_err_en_US,
+                specific.name(), generic.name())}) {
----------------
It would be good to have a test that produces this message.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134402/new/

https://reviews.llvm.org/D134402



More information about the flang-commits mailing list