d7d69474c8
A ProcedureDesignator is a derived type constructor call if the name resolves to a derived type. We need to recognize it as such and not report an error. It may be in another derived type so we have to call FindSymbol() first to find the derived type. Most of the diffs are due to `symbol` changing from a reference to a pointer. In this example we were reporting an error on the first `t1()` and resolving the second as an external function call. ``` module m type :: t1 end type type(t1) :: x = t1() type t2 type(t1) :: y = t1() end type end module ``` Original-commit: flang-compiler/f18@717b22ca2b Reviewed-on: https://github.com/flang-compiler/f18/pull/116 |
||
---|---|---|
.. | ||
attr.cc | ||
attr.h | ||
CMakeLists.txt | ||
dump-parse-tree.h | ||
resolve-names.cc | ||
resolve-names.h | ||
rewrite-parse-tree.cc | ||
rewrite-parse-tree.h | ||
scope.cc | ||
scope.h | ||
symbol.cc | ||
symbol.h | ||
type.cc | ||
type.h | ||
unparse-with-symbols.cc | ||
unparse-with-symbols.h |