[all-commits] [llvm/llvm-project] a27d38: [flang] Fix bug resolving type in type definition
Tim Keith via All-commits
all-commits at lists.llvm.org
Tue Jun 9 14:14:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a27d3852095a461b739da534ddc9abfb625f2e06
https://github.com/llvm/llvm-project/commit/a27d3852095a461b739da534ddc9abfb625f2e06
Author: Tim Keith <tkeith at nvidia.com>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/resolve92.f90
Log Message:
-----------
[flang] Fix bug resolving type in type definition
When we encountered a type name in a derived type definition, we were
sometimes finding a component of that name rather than the type from
the enclosing scope. Fix this by introducing `NonDerivedTypeScope()` to
start the search in the right scope.
Differential Revision: https://reviews.llvm.org/D81493
More information about the All-commits
mailing list