Skip to content

[flang] Fix typo in warning message text #110888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2024
Merged

[flang] Fix typo in warning message text #110888

merged 1 commit into from
Oct 7, 2024

Conversation

klausler
Copy link
Contributor

@klausler klausler commented Oct 2, 2024

I accidentally deleted a space character; put it back.

I accidentally deleted a space character; put it back.
@klausler klausler requested a review from vdonaldson October 2, 2024 17:00
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:semantics labels Oct 2, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 2, 2024

@llvm/pr-subscribers-flang-semantics

Author: Peter Klausler (klausler)

Changes

I accidentally deleted a space character; put it back.


Full diff: https://github.com/llvm/llvm-project/pull/110888.diff

1 Files Affected:

  • (modified) flang/lib/Semantics/check-call.cpp (+1-1)
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)) {

@klausler klausler merged commit 8882d59 into llvm:main Oct 7, 2024
11 checks passed
@klausler klausler deleted the typo branch October 7, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang:semantics flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants