summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail04.stderr
blob: c446289bd8ec9d1238a325d110feff14efcabc2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[1 of 3] Processing p
  [1 of 1] Compiling A[sig]          (.hsig -> nothing)
[2 of 3] Processing q
  [1 of 1] Compiling A[sig]          (.hsig -> nothing)
[3 of 3] Processing r
  [1 of 2] Compiling A[sig]          (.hsig -> nothing)

bkpfail04.bkp:7:9: error:
    Type constructor ‘A’ has conflicting definitions in the module
    and its hsig file
    Main module: data A = A {foo :: GHC.Types.Int}
    Hsig file:  data A = A {bar :: GHC.Types.Bool}
    The constructors do not match:
      The record label lists for ‘A’ differ
      The types for ‘A’ differ