summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail118.stderr
blob: 206bec47be4a9916dfbb46119938e5c7db7db787 (plain)
1
2
3
4
5
6
7
8

tcfail118.hs:10:29:
    Overlapping instances for Eq Foo
      arising from the 'deriving' clause of a data type declaration
    Matching instances:
      instance Eq Foo -- Defined at tcfail118.hs:11:25-26
      instance Eq Foo -- Defined at tcfail118.hs:13:10-15
    When deriving the instance for (Eq Bar)