[commit: ghc] master: Accept tcrun045 output (55b1b85)
git at git.haskell.org
git at git.haskell.org
Wed Apr 20 16:44:33 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/55b1b85df424747b8ef3b7301c1cdec36c4bbe62/ghc
>---------------------------------------------------------------
commit 55b1b85df424747b8ef3b7301c1cdec36c4bbe62
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Apr 20 16:22:30 2016 +0100
Accept tcrun045 output
My validate didn't catch this one; it is fallout
(actually an improvement) from
353d8a SCC analysis for instances as well as types/classes
>---------------------------------------------------------------
55b1b85df424747b8ef3b7301c1cdec36c4bbe62
.../tests/typecheck/should_run/tcrun045.stderr | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/testsuite/tests/typecheck/should_run/tcrun045.stderr b/testsuite/tests/typecheck/should_run/tcrun045.stderr
index c7a6616..f6b1652 100644
--- a/testsuite/tests/typecheck/should_run/tcrun045.stderr
+++ b/testsuite/tests/typecheck/should_run/tcrun045.stderr
@@ -1,6 +1,18 @@
-tcrun045.hs:24:1:
- Illegal implicit parameter ‘?imp::Int’
- In the context: ?imp::Int
- While checking the super-classes of class ‘D’
- In the class declaration for ‘D’
+tcrun045.hs:11:10: error:
+ • Illegal implicit parameter ‘?imp::Int’
+ • In the context: ?imp::Int
+ While checking an instance declaration
+ In the instance declaration for ‘C Int’
+
+tcrun045.hs:24:1: error:
+ • Illegal implicit parameter ‘?imp::Int’
+ • In the context: ?imp::Int
+ While checking the super-classes of class ‘D’
+ In the class declaration for ‘D’
+
+tcrun045.hs:27:10: error:
+ • Illegal implicit parameter ‘?imp::Int’
+ • In the context: ?imp::Int
+ While checking an instance declaration
+ In the instance declaration for ‘D Int’
More information about the ghc-commits
mailing list