diff options
author | Dimitrios Vytiniotis <dimitris@microsoft.com> | 2011-11-16 15:52:35 +0000 |
---|---|---|
committer | Dimitrios Vytiniotis <dimitris@microsoft.com> | 2011-11-16 15:52:35 +0000 |
commit | 83e84e35ab4b307381ac0d0cd15df3227496defb (patch) | |
tree | c858825df187de20157b903692bb09bfa8a5a278 /testsuite/tests/mdo | |
parent | efb1debac24e40ad2f720d536abbd48a7bcd0904 (diff) | |
download | haskell-83e84e35ab4b307381ac0d0cd15df3227496defb.tar.gz |
Error message modifications for the new constraint solver.
Diffstat (limited to 'testsuite/tests/mdo')
-rw-r--r-- | testsuite/tests/mdo/should_fail/mdofail001.stderr | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuite/tests/mdo/should_fail/mdofail001.stderr b/testsuite/tests/mdo/should_fail/mdofail001.stderr index 8660e167fe..f9516ad2b0 100644 --- a/testsuite/tests/mdo/should_fail/mdofail001.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail001.stderr @@ -1,11 +1,11 @@ - -mdofail001.hs:1:12: - Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead - -mdofail001.hs:10:36: - No instance for (Num Char) - arising from the literal `3' - Possible fix: add an instance declaration for (Num Char) - In the expression: 3 - In the first argument of `l', namely `[1, 2, 3]' - In the expression: l [1, 2, 3] +
+mdofail001.hs:1:12:
+ Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead
+
+mdofail001.hs:10:32:
+ No instance for (Num Char)
+ arising from the literal `1'
+ Possible fix: add an instance declaration for (Num Char)
+ In the expression: 1
+ In the first argument of `l', namely `[1, 2, 3]'
+ In the expression: l [1, 2, 3]
|