[flang-commits] [PATCH] D88613: [flang] Semantic analysis for FINAL subroutines

Tim Keith via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 30 13:50:39 PDT 2020


tskeith added inline comments.


================
Comment at: flang/lib/Semantics/check-declarations.cpp:849
+              return CheckDistinguishableFinals(
+                  *ref, source, *prev.second, prev.first, derivedType);
+            })) {
----------------
With clang 9 I get this error:
```
error: reference to local binding 'ref' declared in enclosing function 'Fortran::semantics::CheckHelper::CheckDerivedType'
```
And same for `source`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88613



More information about the flang-commits mailing list