summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci044.stderr
blob: c0737d13b5ad043ba2f9a5e0194f8c62ebaecee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

<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 -XFlexibleInstances 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
      instance C a => C [a] -- Defined at <interactive>:8:10