summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T20588c.stderr
blob: 5b008ecc487c01edb4eae9e7d69bcddd3d55b1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

T20588c.hs-boot:7:1: error: [GHC-15843]
    Class ‘C’ has conflicting definitions in the module
    and its hs-boot file.
    Main module: type C :: * -> Constraint
                 class C a where
                   meth :: a
                   default meth :: Monoid a => a
      Boot file: type C :: * -> Constraint
                 class C a where
                   meth :: a
                   {-# MINIMAL meth #-}
    The class methods do not match:
      The default methods associated with ‘meth’ are different.