summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci044.stderr
blob: a5e6a543ee62973845112fda48d70dd44ae8462e (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