[flang-commits] [PATCH] D145106: [flang] Enforce prohibition against empty interoperable arrays

vdonaldson via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Mar 1 13:22:44 PST 2023


vdonaldson accepted this revision.
vdonaldson added inline comments.
This revision is now accepted and ready to land.


================
Comment at: flang/lib/Semantics/check-declarations.cpp:2237
+              if (auto *msg{messages_.Say(component->name(),
+                      "The component of the interoperable derived type must have the BIND attribute"_err_en_US)}) {
+                msg->Attach(derived->typeSymbol().name(),
----------------
It might be helpful to reconsider the wording of this message while in the neighborhood - the first two definite articles seem a little odd.


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

https://reviews.llvm.org/D145106



More information about the flang-commits mailing list