summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail22.stderr
blob: cb0a0e23fa342e12f6d00a1cdc3941622969a9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[1 of 4] Processing p
  [1 of 2] Compiling H[sig]           ( p/H.hsig, nothing )
  [2 of 2] Compiling M                ( p/M.hs, nothing )
[2 of 4] Processing q
  [1 of 2] Compiling H2[sig]          ( q/H2.hsig, nothing )
  [2 of 2] Compiling N                ( q/N.hs, nothing )
[3 of 4] Processing badimpl
  Instantiating badimpl
  [1 of 1] Compiling H2               ( badimpl/H2.hs, bkpfail22.out/badimpl/H2.o )
[4 of 4] Processing check
  Instantiating check
  [1 of 2] Including q[H2=badimpl:H2]
    Instantiating q[H2=badimpl:H2]
    [1 of 2] Compiling H2[sig]          ( q/H2.hsig, bkpfail22.out/q/q-FjwGsuDQ5qiKUCvnEATUA9/H2.o )

bkpfail22.bkp:16:9: error:
    ā€¢ Type constructor ā€˜Sā€™ has conflicting definitions in the module
      and its hsig file
      Main module: type S :: *
                   type S = ()
      Hsig file:  type S :: *
                  type S = GHC.Types.Bool
    ā€¢ while checking that badimpl:H2 implements signature H2 in q[H2=badimpl:H2]