[flang-commits] [flang] [flang] Fix non-portable TYPE(*) usage in generic (PR #176235)

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Thu Jan 15 14:35:25 PST 2026


================
@@ -3160,7 +3163,7 @@ void ExpressionAnalyzer::EmitGenericResolutionError(const Symbol &symbol,
                   /*allocActualArgumentConversions=*/false,
                   /*extentErrors=*/false,
                   /*ignoreImplicitVsExplicit=*/false)};
-              !reasons.empty()) {
+              reasons.AnyFatalError()) {
----------------
akuhlens wrote:

I take it this was the reason Steve was reporting that some generics were not producing any errors. 

https://github.com/llvm/llvm-project/pull/176235


More information about the flang-commits mailing list