Commit 71e4950a authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski
Browse files

Minor change to error message wording

One flag is deprecated, other removed
parent 6335c124
......@@ -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 =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment