[flang-commits] [flang] [flang][Semantics] Enforce F2023 C1545 only for generic references (PR #219581)

via flang-commits flang-commits at lists.llvm.org
Mon Aug 31 08:33:28 PDT 2026


================

----------------
jeanPerier wrote:

I think I would favor not even attempting generic resolution when C1545 is violated (to skip the ResolveGeneric in CheckAndResolveGenericReference, and to update `EmitGenericResolutionError` to be silent or to be the one emitting the C1545 error message. That way there is no need to have special handling to reset the symbol and dealing with a potentially badly resolved specific.


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


More information about the flang-commits mailing list