summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_fail/T9204.stderr
blob: 33f638578e14903cac8f2adca596a61db72463a8 (plain)
1
2
3
4
5
6
7
8
9
10
11

T9204.hs:7:1: error: [GHC-15843]
    Type constructor ‘D’ has conflicting definitions in the module
    and its hs-boot file.
    Main module: type role D phantom
                 type D :: * -> *
                 data D a
      Boot file: type D :: * -> *
                 data D a
    The roles do not match.
    NB: roles on abstract types default to ‘representational’ in hs-boot files.