This is an archive of the discontinued LLVM Phabricator instance.

[flang] Preserve errors from generic matching
ClosedPublic

Authored by klausler on Jul 21 2023, 8:25 AM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Jul 21 2023, 8:25 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Jul 21 2023, 8:25 AM
This revision is now accepted and ready to land.Jul 21 2023, 8:31 AM
This revision was automatically updated to reflect the committed changes.