summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail23.stderr
blob: 1ebc413e0a9d14db5beb7eb91736ecdaca411ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[1 of 3] Processing p
  [1 of 2] Compiling H[sig]          (.hsig -> nothing)
  [2 of 2] Compiling M               (.hs -> nothing)
[2 of 3] Processing h
  Instantiating h
  [1 of 1] Compiling H               (.hs -> .o)
[3 of 3] Processing r
  Instantiating r
  [1 of 1] Including p[H=h:H]
    Instantiating p[H=h:H]
    [1 of 2] Compiling H[sig]          (.hsig -> .o)

bkpfail23.bkp:14:9: error:
    Type constructor ‘h:H.F’ has conflicting definitions in the module
    and its hsig file
    Main module: type h:H.F a = ()
    Hsig file:  type role h:H.F phantom
                skolem h:H.F a
    Illegal parameterized type synonym in implementation of abstract data.
    (Try eta reducing your type synonym so that it is nullary.)