summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_compile/Roles3.stderr
blob: b18a5b5e8623091220b3d7920d76be378f590f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
TYPE SIGNATURES
TYPE CONSTRUCTORS
  C1 :: * -> Constraint
  class C1 a
    Roles: [representational]
    RecFlag NonRecursive
    meth1 :: a -> a
  C2 :: * -> * -> Constraint
  class C2 a b
    Roles: [nominal, nominal]
    RecFlag NonRecursive
    meth2 :: (~) * a b -> a -> b
  C3 :: * -> * -> Constraint
  class C3 a b
    Roles: [representational, nominal]
    RecFlag NonRecursive
    type family F3 b :: * (open)
    meth3 :: a -> F3 b -> F3 b
  C4 :: * -> * -> Constraint
  class C4 a b
    Roles: [representational, nominal]
    RecFlag NonRecursive
    meth4 :: a -> F4 b -> F4 b
  F4 :: * -> *
  type family F4 a :: * (open)
  Syn1 :: * -> *
  type Syn1 a = F4 a
  Syn2 :: * -> *
  type Syn2 a = [a]
COERCION AXIOMS
  axiom Roles3.NTCo:C1 :: C1 a = a -> a
  axiom Roles3.NTCo:C2 :: C2 a b = a ~ b => a -> b
  axiom Roles3.NTCo:C3 :: C3 a b = a -> F3 b -> F3 b
  axiom Roles3.NTCo:C4 :: C4 a b = a -> F4 b -> F4 b
Dependent modules: []
Dependent packages: [base, ghc-prim, integer-gmp]

==================== Typechecker ====================