Commit 6a02f280 authored by rwbarton's avatar rwbarton Committed by thoughtpolice
Browse files

Fix build on non-unicode locale



happy reads .y files with the system encoding, so keep Parser.y.pp ASCII.
Signed-off-by: thoughtpolice's avatarAustin Seipp <aseipp@pobox.com>
parent a54ace7b
...@@ -2249,8 +2249,8 @@ hintExplicitForall span = do ...@@ -2249,8 +2249,8 @@ hintExplicitForall span = do
forall <- extension explicitForallEnabled forall <- extension explicitForallEnabled
rulePrag <- extension inRulePrag rulePrag <- extension inRulePrag
unless (forall || rulePrag) $ parseErrorSDoc span $ vcat unless (forall || rulePrag) $ parseErrorSDoc span $ vcat
[ text "Illegal symbol '' in type" [ text "Illegal symbol '\x2200' in type" -- U+2200 FOR ALL
, text "Perhaps you intended -XRankNTypes or similar flag" , text "Perhaps you intended -XRankNTypes or similar flag"
, text "to enable explicit-forall syntax: <tvs>. <type>" , text "to enable explicit-forall syntax: \x2200 <tvs>. <type>"
] ]
} }
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