summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_compile/Roles14.stderr
blob: ce4ddd3bb7edaf40bcd3a563fb754f7b56f01542 (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
  meth2 :: forall a. C2 a => a -> a
TYPE CONSTRUCTORS
  type role C2 representational
  class C2 a where
    meth2 :: a -> a
    {-# MINIMAL meth2 #-}
COERCION AXIOMS
  axiom Roles12.N:C2 :: C2 a = a -> a -- Defined at Roles14.hs:6:1
Dependent modules: []
Dependent packages: [base-4.10.0.0, ghc-prim-0.5.0.0,
                     integer-gmp-1.0.0.1]

==================== Typechecker ====================
Roles12.$tcC2
  = GHC.Types.TyCon
      7996680154108933333##
      9454227235464419996##
      Roles12.$trModule
      (GHC.Types.TrNameS "C2"#)
      0
      GHC.Types.krep$*Arr*
Roles12.$tc'C:C2
  = GHC.Types.TyCon
      7087988437584478859##
      11477953550142401435##
      Roles12.$trModule
      (GHC.Types.TrNameS "'C:C2"#)
      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.KindRepTyConApp Roles12.$tcC2 ((:) $krep [])
Roles12.$trModule
  = GHC.Types.Module
      (GHC.Types.TrNameS "main"#) (GHC.Types.TrNameS "Roles12"#)