summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_compile/Roles4.stderr
blob: ac9d08b415f3c88f56b996863df7e16d71851e82 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
TYPE SIGNATURES
  meth1 :: forall a. C1 a => a -> a
  meth3 :: forall a. C3 a => a -> Syn1 a
TYPE CONSTRUCTORS
  class C1 a where
    meth1 :: a -> a
    {-# MINIMAL meth1 #-}
  class C3 a where
    meth3 :: a -> Syn1 a
    {-# MINIMAL meth3 #-}
  type Syn1 a = [a]
COERCION AXIOMS
  axiom Roles4.N:C1 :: C1 a = a -> a -- Defined at Roles4.hs:6:1
  axiom Roles4.N:C3 ::
    C3 a = a -> Syn1 a -- Defined at Roles4.hs:11:1
Dependent modules: []
Dependent packages: [base-4.10.0.0, ghc-prim-0.5.0.0,
                     integer-gmp-1.0.0.1]

==================== Typechecker ====================
Roles4.$tcC3
  = GHC.Types.TyCon
      7508642517340826358##
      16938219270597865136##
      Roles4.$trModule
      (GHC.Types.TrNameS "C3"#)
      0
      GHC.Types.krep$*Arr*
Roles4.$tc'C:C3
  = GHC.Types.TyCon
      3133378316178104365##
      15809386433947157376##
      Roles4.$trModule
      (GHC.Types.TrNameS "'C:C3"#)
      1
      $krep
Roles4.$tcC1
  = GHC.Types.TyCon
      13392243382482428602##
      1780037961948725012##
      Roles4.$trModule
      (GHC.Types.TrNameS "C1"#)
      0
      GHC.Types.krep$*Arr*
Roles4.$tc'C:C1
  = GHC.Types.TyCon
      3870707671502302648##
      10631907186261837450##
      Roles4.$trModule
      (GHC.Types.TrNameS "'C:C1"#)
      1
      $krep
$krep [InlPrag=[~]] = GHC.Types.KindRepVar 0
$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep
$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep
$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep
$krep [InlPrag=[~]] = GHC.Types.KindRepFun $krep $krep
$krep [InlPrag=[~]]
  = GHC.Types.KindRepTyConApp GHC.Types.$tc[] ((:) $krep [])
$krep [InlPrag=[~]]
  = GHC.Types.KindRepTyConApp Roles4.$tcC3 ((:) $krep [])
$krep [InlPrag=[~]]
  = GHC.Types.KindRepTyConApp Roles4.$tcC1 ((:) $krep [])
Roles4.$trModule
  = GHC.Types.Module
      (GHC.Types.TrNameS "main"#) (GHC.Types.TrNameS "Roles4"#)