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

T9204.hs:7:1: error:
    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.
    Roles on abstract types default to ‘representational’ in boot files.