[flang-commits] [flang] [flang] Fix typo in warning message text (PR #110888)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Wed Oct 2 10:00:53 PDT 2024
https://github.com/klausler created https://github.com/llvm/llvm-project/pull/110888
I accidentally deleted a space character; put it back.
>From ba51bdfbf252d882339741da7772889b970e0a82 Mon Sep 17 00:00:00 2001
From: Peter Klausler <pklausler at nvidia.com>
Date: Wed, 2 Oct 2024 09:59:15 -0700
Subject: [PATCH] [flang] Fix typo in warning message text
I accidentally deleted a space character; put it back.
---
flang/lib/Semantics/check-call.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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