summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail15.stderr
blob: 18c86e4b4417c67623beb9f205f483f1b0df3bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[1 of 3] Processing p
  [1 of 3] Compiling A[sig]           ( p\A.hsig, nothing )
  [2 of 3] Compiling Q[sig]           ( p\Q.hsig, nothing )
  [3 of 3] Compiling P                ( p\P.hs, nothing )
[2 of 3] Processing q
  Instantiating q
  [1 of 1] Compiling Q                ( q\Q.hs, bkpfail15.out\q\Q.o )
[3 of 3] Processing r
  [1 of 2] Compiling A[sig]           ( r\A.hsig, nothing )
  [2 of 2] Instantiating p

bkpfail15.bkp:8:9: error: [GHC-11890]
    • Identifier ‘f’ has conflicting definitions in the module
      and its hsig file.
      Main module: f :: GHC.Types.Bool
        Hsig file: f :: GHC.Types.Int
      The two types are different.
    • While checking that ‘q:Q’ implements signature ‘Q’ in ‘p[A=<A>,Q=q:Q]’.