Skip to content
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

[flang] Fix typo in warning message text #110888

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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.
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:semantics labels Oct 2, 2024
@llvmbot
Copy link
Collaborator

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)) {

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