[flang-commits] [flang] [Flang] Interface vs explicit intrinsics priority (PR #215355)

Yusuke MINATO via flang-commits flang-commits at lists.llvm.org
Sun Aug 16 21:54:19 PDT 2026


================
@@ -3273,15 +3273,15 @@ auto ExpressionAnalyzer::ResolveGeneric(const Symbol &symbol,
     }
   }
 
-  // Return the right resolution, if there is one.  Explicit intrinsics
-  // are preferred, then non-elements specifics, then elementals, and
-  // lastly structure constructors.
-  if (explicitIntrinsic) {
-    return {explicitIntrinsic, false};
-  } else if (nonElemental) {
+  // Return the right resolution, if there is one. Non Elemental specifics
----------------
yus3710-fj wrote:

```suggestion
  // Return the right resolution, if there is one. Non-elemental specifics
```

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


More information about the flang-commits mailing list