summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-07-11 10:11:03 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-07-11 10:11:03 +0100
commit02af0c55f1fc7c6e980916f683c3a2641f6dd67a (patch)
treee475a9225cefc8d54dc9067005595dfc17845a5c /testsuite/tests
parent547ab6f4595c6d6d6f82ef8a39f6d293380e8dbf (diff)
downloadhaskell-02af0c55f1fc7c6e980916f683c3a2641f6dd67a.tar.gz
Accept error message changes
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail189.stderr29
1 files changed, 0 insertions, 29 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail189.stderr b/testsuite/tests/typecheck/should_fail/tcfail189.stderr
index 96b53e38a5..6364cc2d5b 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail189.stderr
+++ b/testsuite/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]]