[all-commits] [llvm/llvm-project] 632fd9: [flang] Respect inaccessibility of type-bound ASSI...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Feb 13 15:58:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 632fd9fb861c5deb24a6339d76f29a22462cadd8
https://github.com/llvm/llvm-project/commit/632fd9fb861c5deb24a6339d76f29a22462cadd8
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Respect inaccessibility of type-bound ASSIGNMENT(=)
When a derived type has a PRIVATE type-bound generic binding for
a defined ASSIGNMENT(=), don't use it in scopes outside of the
module that defines the type. We already get this case right
for other type-bound generics, including defined operators,
and for non-type-bound generic interfaces, but the check was
not applied for this case.
Differential Revision: https://reviews.llvm.org/D143826
More information about the All-commits
mailing list