summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail52.stderr
blob: 888434e33cfc34f0da7e6bb21b97b6482807eb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[1 of 2] Processing p
  [1 of 1] Compiling H[sig]           ( p/H.hsig, nothing )
[2 of 2] Processing q
  [1 of 3] Compiling B                ( q/B.hs, nothing )
  [2 of 3] Compiling A[sig]           ( q/A.hsig, nothing )

bkpfail52.bkp:10:9: error:
    • Type constructor ‘T’ has conflicting definitions in the module
      and its hsig file
      Main module: type T :: *
                   type T = B.T
      Hsig file:  type T :: *
                  data T = T Int
    • while merging the signatures from:
        • p[H=<A>]:H
        • ...and the local signature for A