summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T5051.stderr
blob: b15c2d9fafed6875def9a2e41a4e06772006d0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11

T5051.hs:11:11:
    Overlapping instances for Eq [a] arising from a use of ‛>=’
    Matching instances:
      instance Eq a => Eq [a] -- Defined in ‛GHC.Classes’
      instance [overlap ok] Eq [T] -- Defined at T5051.hs:8:10
    (The choice depends on the instantiation of ‛a’
     To pick the first instance above, use -XIncoherentInstances
     when compiling the other instance declarations)
    In the expression: x >= x
    In an equation for ‛foo’: foo x = x >= x