[flang-commits] [flang] [flang] Improve module file error message wording (PR #122787)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Jan 13 15:52:01 PST 2025


================
@@ -32,14 +32,14 @@
 
 ! INCLUDED-NOT: error
 
-! MISSING_MOD2-NOT:error: Cannot read module file for module 'basictestmoduleone''
+! MISSING_MOD2-NOT:error: Cannot parse module file for module 'basictestmoduleone''
----------------
klausler wrote:

Try compiling the test and you will observe additional informative messages.  Our message system supports messages as attachments to other messages (or attachments), and they all get formatted nicely.  For testing purposes here, however, we just care that the basic error condition has been caught.

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


More information about the flang-commits mailing list