summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/T19244b.stderr
blob: 6c883c2601267d4dc0731a97a00cbaa5a8d5c575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[1 of 3] Processing user
  [1 of 2] Compiling Map[sig]         ( user\Map.hsig, nothing )
  [2 of 2] Compiling User             ( user\User.hs, nothing )
[2 of 3] Processing ordmap
  Instantiating ordmap
  [1 of 1] Compiling Map              ( ordmap\Map.hs, T19244b.out\ordmap\Map.o )
[3 of 3] Processing main
  Instantiating main
  [1 of 1] Including user[Map=ordmap:Map]
    Instantiating user[Map=ordmap:Map]
    [1 of 2] Compiling Map[sig]         ( user\Map.hsig, T19244b.out\user\user-GzloW2NeDdA2M0V8qzN4g2\Map.o )

T19244b.bkp:11:27: error: [GHC-15843]
    • Type constructor ‘Key’ has conflicting definitions in the module
      and its hsig file.
      Main module: type Key :: * -> Constraint
                   type Key = GHC.Classes.Ord :: * -> Constraint
        Hsig file: type Key :: forall {k}. k -> Constraint
                   class Key k1
      The types have different kinds.
    • While checking that ‘ordmap:Map’ implements signature ‘Map’ in ‘user[Map=ordmap:Map]’.