summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail42.stderr
blob: 0dfef9355f0fae4c083263b086c0a41065f7c517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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:
    • 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
    • while merging the signatures from:
        • p[A=<A>]:A
        • ...and the local signature for A