diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-05-01 11:06:08 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-05-01 11:06:08 -0400 |
commit | c04bd55a8daaf254436cef02934215d0b4ccfa2f (patch) | |
tree | c2e6aca780851f42a92f263d8c102c53d23d1307 | |
parent | 18fbb9d32cbc157e3bbd235e392f1625f77321e3 (diff) | |
download | haskell-c04bd55a8daaf254436cef02934215d0b4ccfa2f.tar.gz |
Fix capitalization in message for #13609
I had meant to do this before merging but forgot.
-rw-r--r-- | compiler/typecheck/TcAnnotations.hs | 2 | ||||
-rw-r--r-- | 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 |