[commit: testsuite] master: Accept error message changes (83fbff5)
Simon Peyton Jones
simonpj at microsoft.com
Wed Jul 11 11:11:50 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/83fbff5d6215701bc30a6508ad8f79b8bcd554cd
>---------------------------------------------------------------
commit 83fbff5d6215701bc30a6508ad8f79b8bcd554cd
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Jul 11 10:11:03 2012 +0100
Accept error message changes
>---------------------------------------------------------------
tests/typecheck/should_fail/tcfail189.stderr | 29 --------------------------
1 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/tests/typecheck/should_fail/tcfail189.stderr b/tests/typecheck/should_fail/tcfail189.stderr
index 96b53e3..6364cc2 100644
--- a/tests/typecheck/should_fail/tcfail189.stderr
+++ b/tests/typecheck/should_fail/tcfail189.stderr
@@ -1,33 +1,4 @@
-tcfail189.hs:9:14:
- No instance for (Enum a1)
- arising from the arithmetic sequence `1 .. 10'
- The type variable `a1' is ambiguous
- Possible fix: add a type signature that fixes these type variable(s)
- Note: there are several potential instances:
- instance Enum Double -- Defined in `GHC.Float'
- instance Enum Float -- Defined in `GHC.Float'
- instance Integral a => Enum (GHC.Real.Ratio a)
- -- Defined in `GHC.Real'
- ...plus 7 others
- In the expression: [1 .. 10]
- In a stmt of a list comprehension: x <- [1 .. 10]
- In a stmt of a list comprehension: then group by x using take 2
-
-tcfail189.hs:9:15:
- No instance for (Num a1) arising from the literal `1'
- The type variable `a1' is ambiguous
- Possible fix: add a type signature that fixes these type variable(s)
- Note: there are several potential instances:
- instance Num Double -- Defined in `GHC.Float'
- instance Num Float -- Defined in `GHC.Float'
- instance Integral a => Num (GHC.Real.Ratio a)
- -- Defined in `GHC.Real'
- ...plus three others
- In the expression: 1
- In the expression: [1 .. 10]
- In a stmt of a list comprehension: x <- [1 .. 10]
-
tcfail189.hs:10:31:
Couldn't match type `[a0]' with `a -> a1'
Expected type: (a -> a1) -> [a] -> [[a]]
More information about the Cvs-ghc
mailing list