[flang-commits] [flang] 8882d59 - [flang] Fix typo in warning message text (#110888)

via flang-commits flang-commits at lists.llvm.org
Mon Oct 7 13:16:49 PDT 2024


Author: Peter Klausler
Date: 2024-10-07T13:16:46-07:00
New Revision: 8882d5912322ce9c199181e46b8c07d24ed6095d

URL: https://github.com/llvm/llvm-project/commit/8882d5912322ce9c199181e46b8c07d24ed6095d
DIFF: https://github.com/llvm/llvm-project/commit/8882d5912322ce9c199181e46b8c07d24ed6095d.diff

LOG: [flang] Fix typo in warning message text (#110888)

I accidentally deleted a space character; put it back.

Added: 
    

Modified: 
    flang/lib/Semantics/check-call.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Semantics/check-call.cpp b/flang/lib/Semantics/check-call.cpp
index 28a12a5798cb05..585ca8bb617335 100644
--- a/flang/lib/Semantics/check-call.cpp
+++ b/flang/lib/Semantics/check-call.cpp
@@ -265,7 +265,7 @@ static void ConvertIntegerActual(evaluate::Expr<evaluate::SomeType> &actual,
       if (!semanticsContext.IsEnabled(
               common::LanguageFeature::ActualIntegerConvertedToSmallerKind)) {
         messages.Say(
-            "Actual argument scalar expression of type INTEGER(%d) cannot beimplicitly converted to smaller dummy argument type INTEGER(%d)"_err_en_US,
+            "Actual argument scalar expression of type INTEGER(%d) cannot be implicitly converted to smaller dummy argument type INTEGER(%d)"_err_en_US,
             actualType.type().kind(), dummyType.type().kind());
       } else if (semanticsContext.ShouldWarn(common::LanguageFeature::
                          ActualIntegerConvertedToSmallerKind)) {


        


More information about the flang-commits mailing list