summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_compile/Roles13.stderr
blob: f336a69be11624805407695a1d9c3696d14e7a8a (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199

==================== Tidy Core ====================
Result size of Tidy Core
  = {terms: 114, types: 43, coercions: 5, joins: 0/0}

-- RHS size: {terms: 2, types: 2, coercions: 0, joins: 0/0}
convert1 :: Wrap Age -> Wrap Age
[GblId, Arity=1, Caf=NoCafRefs]
convert1 = \ (ds :: Wrap Age) -> ds

-- RHS size: {terms: 1, types: 0, coercions: 5, joins: 0/0}
convert :: Wrap Age -> Int
[GblId, Arity=1, Caf=NoCafRefs]
convert =
  convert1
  `cast` (<Wrap Age>_R -> Roles13.N:Wrap[0] Roles13.N:Age[0]
          :: ((Wrap Age -> Wrap Age) :: *) ~R# ((Wrap Age -> Int) :: *))

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$trModule1 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$trModule1 = "main"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$trModule2 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$trModule2 = GHC.Types.TrNameS $trModule1

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$trModule3 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$trModule3 = "Roles13"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$trModule4 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$trModule4 = GHC.Types.TrNameS $trModule3

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
Roles13.$trModule :: GHC.Types.Module
[GblId, Caf=NoCafRefs]
Roles13.$trModule = GHC.Types.Module $trModule2 $trModule4

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
krep :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep = GHC.Types.KindRepTYPE GHC.Types.LiftedRep

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$tcAge1 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$tcAge1 = "Age"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$tcAge2 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$tcAge2 = GHC.Types.TrNameS $tcAge1

-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
Roles13.$tcAge :: GHC.Types.TyCon
[GblId, Caf=NoCafRefs]
Roles13.$tcAge =
  GHC.Types.TyCon
    3456257068627873222##
    14056710845110756026##
    Roles13.$trModule
    $tcAge2
    0#
    krep

-- RHS size: {terms: 3, types: 1, coercions: 0, joins: 0/0}
krep1 :: GHC.Types.KindRep
[GblId]
krep1 =
  GHC.Types.KindRepTyConApp
    GHC.Types.$tcInt (GHC.Types.[] @ GHC.Types.KindRep)

-- RHS size: {terms: 3, types: 1, coercions: 0, joins: 0/0}
krep2 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep2 =
  GHC.Types.KindRepTyConApp
    Roles13.$tcAge (GHC.Types.[] @ GHC.Types.KindRep)

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
krep3 :: GHC.Types.KindRep
[GblId]
krep3 = GHC.Types.KindRepFun krep1 krep2

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$tc'MkAge1 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$tc'MkAge1 = "'MkAge"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$tc'MkAge2 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$tc'MkAge2 = GHC.Types.TrNameS $tc'MkAge1

-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
Roles13.$tc'MkAge :: GHC.Types.TyCon
[GblId]
Roles13.$tc'MkAge =
  GHC.Types.TyCon
    18264039750958872441##
    1870189534242358050##
    Roles13.$trModule
    $tc'MkAge2
    0#
    krep3

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
krep4 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep4 = GHC.Types.KindRepTYPE GHC.Types.LiftedRep

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
krep5 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep5 = GHC.Types.KindRepTYPE GHC.Types.LiftedRep

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
krep6 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep6 = GHC.Types.KindRepFun krep4 krep5

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$tcWrap1 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$tcWrap1 = "Wrap"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$tcWrap2 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$tcWrap2 = GHC.Types.TrNameS $tcWrap1

-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
Roles13.$tcWrap :: GHC.Types.TyCon
[GblId, Caf=NoCafRefs]
Roles13.$tcWrap =
  GHC.Types.TyCon
    13773534096961634492##
    15591525585626702988##
    Roles13.$trModule
    $tcWrap2
    0#
    krep6

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
krep7 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep7 = GHC.Types.KindRepVar 0#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
krep8 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep8 = GHC.Types.KindRepVar 0#

-- RHS size: {terms: 3, types: 2, coercions: 0, joins: 0/0}
krep9 :: [GHC.Types.KindRep]
[GblId, Caf=NoCafRefs]
krep9 =
  GHC.Types.:
    @ GHC.Types.KindRep krep8 (GHC.Types.[] @ GHC.Types.KindRep)

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
krep10 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep10 = GHC.Types.KindRepTyConApp Roles13.$tcWrap krep9

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
krep11 :: GHC.Types.KindRep
[GblId, Caf=NoCafRefs]
krep11 = GHC.Types.KindRepFun krep7 krep10

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$tc'MkWrap1 :: GHC.Prim.Addr#
[GblId, Caf=NoCafRefs]
$tc'MkWrap1 = "'MkWrap"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$tc'MkWrap2 :: GHC.Types.TrName
[GblId, Caf=NoCafRefs]
$tc'MkWrap2 = GHC.Types.TrNameS $tc'MkWrap1

-- RHS size: {terms: 7, types: 0, coercions: 0, joins: 0/0}
Roles13.$tc'MkWrap :: GHC.Types.TyCon
[GblId, Caf=NoCafRefs]
Roles13.$tc'MkWrap =
  GHC.Types.TyCon
    15580677875333883466##
    808508687714473149##
    Roles13.$trModule
    $tc'MkWrap2
    1#
    krep11