[all-commits] [llvm/llvm-project] 245eb0: [flang] Catch structure constructor in its own typ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 8 11:08:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 245eb0a716a839ebe18bd5d489184bebd352e769
      https://github.com/llvm/llvm-project/commit/245eb0a716a839ebe18bd5d489184bebd352e769
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/bad-forward-type.f90

  Log Message:
  -----------
  [flang] Catch structure constructor in its own type definition (#102241)

The check for a structure constructor to a forward-referenced derived
type wasn't tripping for constructors in the type definition itself. Set
the forward reference flag unconditionally at the beginning of name
resolution for the type definition.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list