From c04bd55a8daaf254436cef02934215d0b4ccfa2f Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 1 May 2017 11:06:08 -0400 Subject: Fix capitalization in message for #13609 I had meant to do this before merging but forgot. --- compiler/typecheck/TcAnnotations.hs | 2 +- testsuite/tests/stage1/T13609.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/typecheck/TcAnnotations.hs b/compiler/typecheck/TcAnnotations.hs index 43d2970ded..bdf6646b1a 100644 --- a/compiler/typecheck/TcAnnotations.hs +++ b/compiler/typecheck/TcAnnotations.hs @@ -37,7 +37,7 @@ warnAnns :: [LAnnDecl Name] -> TcM [Annotation] warnAnns [] = return [] warnAnns anns@(L loc _ : _) = do { setSrcSpan loc $ addWarnTc NoReason $ - (text "Ignoring Ann annotation" <> plural anns <> comma + (text "Ignoring ANN annotation" <> plural anns <> comma <+> text "because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi") ; return [] } #else diff --git a/testsuite/tests/stage1/T13609.stderr b/testsuite/tests/stage1/T13609.stderr index 0a3c1cdae6..579f3e5319 100644 --- a/testsuite/tests/stage1/T13609.stderr +++ b/testsuite/tests/stage1/T13609.stderr @@ -1,3 +1,3 @@ T13609.hs:3:1: warning: - Ignoring Ann annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi + Ignoring ANN annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi -- cgit v1.2.1