summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail42.stderr
blob: b8c6fb4c34fc9e960c67b6283f5bb15c3682090e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[1 of 2] Processing p
  [1 of 1] Compiling A[sig]           ( p\A.hsig, nothing )
[2 of 2] Processing q
  [1 of 2] Compiling A[sig]           ( q\A.hsig, nothing )

bkpfail42.bkp:10:9: error: [GHC-15843]
    • Type constructor ‘F’ has conflicting definitions in the module
      and its hsig file.
      Main module: type F :: * -> *
                   type family F a where
                       F a = Int
        Hsig file: type F :: * -> *
                   type family F a where
                       F a = Bool
      Type family equations do not match:
        The second equations do not match.
          The equation right-hand sides don't match.
    • while merging the signatures from:
        • p[A=<A>]:A
        • ...and the local signature for A