[flang-commits] [flang] [flang] Retrieve shape from selector when generating assoc sym type (PR #137117)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Wed Apr 23 22:42:37 PDT 2025


================
@@ -279,6 +279,23 @@ struct TypeBuilderImpl {
     bool isPolymorphic = (Fortran::semantics::IsPolymorphic(symbol) ||
                           Fortran::semantics::IsUnlimitedPolymorphic(symbol)) &&
                          !Fortran::semantics::IsAssumedType(symbol);
+    if (const auto *assocDetails =
----------------
ergawy wrote:

Not very familiar with this part of the codebase, so hopefully this is a sane fix.

https://github.com/llvm/llvm-project/pull/137117


More information about the flang-commits mailing list