summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci044.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci044.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/ghci044.stderr17
1 files changed, 6 insertions, 11 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci044.stderr b/testsuite/tests/ghci/scripts/ghci044.stderr
index c319dd1f1c..9bc8df9994 100644
--- a/testsuite/tests/ghci/scripts/ghci044.stderr
+++ b/testsuite/tests/ghci/scripts/ghci044.stderr
@@ -1,13 +1,8 @@
-<interactive>:5:10:
- Illegal instance declaration for ‘C [Int]’
- (All instance types must be of the form (T a1 ... an)
- where a1 ... an are *distinct type variables*,
- and each type variable appears at most once in the instance head.
- Use FlexibleInstances if you want to disable this.)
- In the instance declaration for ‘C [Int]’
-
-<interactive>:7:10:
- Overlapping instance declarations:
- instance C [Int] -- Defined at <interactive>:7:10
+<interactive>:9:1:
+ Overlapping instances for C [Int] arising from a use of ‘f’
+ Matching instances:
+ instance C [Int] -- Defined at <interactive>:6:10
instance C a => C [a] -- Defined at <interactive>:8:10
+ In the expression: f [4 :: Int]
+ In an equation for ‘it’: it = f [4 :: Int]