[commit: ghc] master: Minor change to error message wording (71e4950)

git at git.haskell.org git at git.haskell.org
Sun Nov 17 12:59:40 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/71e4950a3067bd0eb8b8dae7883740dfc925eb3e/ghc

>---------------------------------------------------------------

commit 71e4950a3067bd0eb8b8dae7883740dfc925eb3e
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Sun Nov 17 13:56:24 2013 +0100

    Minor change to error message wording
    
    One flag is deprecated, other removed


>---------------------------------------------------------------

71e4950a3067bd0eb8b8dae7883740dfc925eb3e
 compiler/main/HeaderInfo.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/HeaderInfo.hs b/compiler/main/HeaderInfo.hs
index 2560db3..a083f4f 100644
--- a/compiler/main/HeaderInfo.hs
+++ b/compiler/main/HeaderInfo.hs
@@ -291,7 +291,7 @@ languagePragParseError dflags loc =
        vcat [ text "Cannot parse LANGUAGE pragma"
             , text "Expecting comma-separated list of language options,"
             , text "each starting with a capital letter"
-            , nest 2 (text "E.g. {-# LANGUAGE RecordPuns, Generics #-}") ])
+            , nest 2 (text "E.g. {-# LANGUAGE TemplateHaskell, GADTs #-}") ])
 
 unsupportedExtnError :: DynFlags -> SrcSpan -> String -> a
 unsupportedExtnError dflags loc unsup =



More information about the ghc-commits mailing list