Type-bound generics like operator(+) and assignment(=) need to not be
PRIVATE if they are used outside the module in which they are declared.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D139123  
[flang] Enforce accessibility requirement on type-bound generic operators, &c. ClosedPublic Authored by klausler on Dec 1 2022, 8:53 AM. 
Details Summary Type-bound generics like operator(+) and assignment(=) need to not be 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 1 2022, 8:59 AM This revision was landed with ongoing or failed builds.Dec 3 2022, 10:13 AM Closed by commit rGd7a1351bb8d7: [flang] Enforce accessibility requirement on type-bound generic operators, &c. (authored by klausler).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 479850 flang/include/flang/Semantics/scope.h
 flang/include/flang/Semantics/tools.h
 flang/lib/Semantics/expression.cpp
 flang/lib/Semantics/resolve-names.cpp
 
 flang/lib/Semantics/tools.cpp
 flang/test/Semantics/resolve34.f90
 flang/test/Semantics/resolve63.f90
 flang/test/Semantics/resolve64.f90
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||