[flang-commits] [PATCH] D155966: [flang] Preserve errors from generic matching

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jul 21 08:25:20 PDT 2023


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

When searching for a matching specific procedure for a set of actual
arguments in a type-bound generic interface for a defined operator,
don't discard any error messages that may have been produced for
the specific that was found.  Tweak the code to preserve those  
messages and add them to the context's messages, and add a test.


https://reviews.llvm.org/D155966

Files:
  flang/lib/Semantics/expression.cpp
  flang/test/Semantics/pure01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155966.542935.patch
Type: text/x-patch
Size: 4201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230721/3b19f4a1/attachment-0001.bin>


More information about the flang-commits mailing list