[commit: ghc] master: Fix SimpleFail12 error output (20f90ea)

git at git.haskell.org git at git.haskell.org
Mon Feb 8 10:13:39 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/20f90ea394e3c2a6f0bb0a4ebf493a258c01da98/ghc

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

commit 20f90ea394e3c2a6f0bb0a4ebf493a258c01da98
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Feb 8 10:13:28 2016 +0000

    Fix SimpleFail12 error output
    
    I missed this on my previous commit, somehow
       2cf3ca Allow foralls in instance decls
    Apologies.


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

20f90ea394e3c2a6f0bb0a4ebf493a258c01da98
 testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr
index a402623..ca6c11b 100644
--- a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr
+++ b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr
@@ -1,4 +1,4 @@
 
-SimpleFail12.hs:8:15:
-    Illegal polymorphic or qualified type: forall a1. [a1]
-    In the type instance declaration for ‘C’
+SimpleFail12.hs:8:15: error:
+    • Illegal polymorphic type: forall a. [a]
+    • In the type instance declaration for ‘C’



More information about the ghc-commits mailing list