[PATCH] D87535: [flang] Fix bug for forward referenced type

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 14:42:12 PDT 2020


tskeith added inline comments.


================
Comment at: flang/test/Semantics/bad-forward-type.f90:76
+  !ERROR: Derived type 't2' was used but never defined
+  !ERROR: The derived type 't2' was forward-referenced but not defined
+  implicit type(t2)(x)
----------------
These messages both seem to be wrong: type t2 is defined later. And they are not associated with the line that has the error.

Sorry about the late comment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87535



More information about the llvm-commits mailing list