summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail06.stderr
blob: 1fb5d5311f79fe3c5e4f108649eb5669a09fa8f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[1 of 3] Processing p
  [1 of 2] Compiling H[sig]           ( p/H.hsig, nothing )
  [2 of 2] Compiling A                ( p/A.hs, nothing )
[2 of 3] Processing qimpl
  Instantiating qimpl
  [1 of 2] Compiling T                ( qimpl/T.hs, bkpfail06.out/qimpl/T.o )
  [2 of 2] Compiling H                ( qimpl/H.hs, bkpfail06.out/qimpl/H.o )
[3 of 3] Processing q
  Instantiating q
  [1 of 1] Including p[H=qimpl:H]
    Instantiating p[H=qimpl:H]
    [1 of 2] Compiling H[sig]           ( p/H.hsig, bkpfail06.out/p/p-IueY0RdHDM2I4k0mLZuqM0/H.o )

bkpfail06.bkp:10:9: error:
    Type constructor ‘qimpl:T.T’ has conflicting definitions in the module
    and its hsig file
    Main module: data qimpl:T.T = qimpl:T.T GHC.Types.Bool
    Hsig file:  data qimpl:T.T = qimpl:T.T GHC.Types.Int
    The constructors do not match: The types for ‘qimpl:T.T’ differ