1
- Characters 6-14:
2
- div [a [a []]] ;;
3
- ^^^^^^^^
4
- Error: This expression has type
5
- ([> 'b Html_types.a ] as 'a) Tyxml.Html.elt = 'a Tyxml_html.elt
1
+ [1mLine 2, characters 5-13[0m:
2
+ 2 | div [a [a []]] ;;
3
+ [1;31m^^^^^^^^[0m
4
+ [1;31mError[0m: This expression has type
5
+ ([> ([> 'c Html_types.a ] as 'b) Html_types.a ] as 'a)
6
+ Tyxml.Html.elt = 'a Tyxml_html.elt
6
7
but an expression was expected of type
7
8
([< Html_types.div_content_fun ] as 'd) Tyxml.Html.elt =
8
9
'd Tyxml_html.elt
9
10
Type 'a = [> `A of 'b ] is not compatible with type
10
11
'd =
11
- [< `A of Html_types.flow5_without_interactive
12
+ [< `A of Html_types.flow5_without_interactive_header_footer
12
13
| `Abbr
13
14
| `Address
14
15
| `Article
15
16
| `Aside
16
- | `Audio of Html_types.flow5_without_media
17
- | `Audio_interactive of Html_types.flow5_without_media
17
+ | `Audio of Html_types.flow5_without_media_header_footer
18
+ | `Audio_interactive of
19
+ Html_types.flow5_without_media_header_footer
18
20
| `B
19
21
| `Bdo
20
22
| `Blockquote
21
23
| `Br
22
24
| `Button
23
- | `Canvas of Html_types.flow5
25
+ | `Canvas of Html_types.flow5_without_header_footer
24
26
| `Cite
25
27
| `Code
26
28
| `Command
27
29
| `Datalist
28
- | `Del of Html_types.flow5
30
+ | `Del of Html_types.flow5_without_header_footer
29
31
| `Details
30
32
| `Dfn
31
33
| `Div
@@ -50,23 +52,24 @@ Error: This expression has type
50
52
| `Img
51
53
| `Img_interactive
52
54
| `Input
53
- | `Ins of Html_types.flow5
55
+ | `Ins of Html_types.flow5_without_header_footer
54
56
| `Kbd
55
57
| `Keygen
56
58
| `Label
57
59
| `Main
58
- | `Map of Html_types.flow5
60
+ | `Map of Html_types.flow5_without_header_footer
59
61
| `Mark
60
62
| `Menu
61
63
| `Meter
62
64
| `Nav
63
- | `Noscript of Html_types.flow5_without_noscript
64
- | `Object of Html_types.flow5
65
- | `Object_interactive of Html_types.flow5
65
+ | `Noscript of Html_types.flow5_without_noscript_header_footer
66
+ | `Object of Html_types.flow5_without_header_footer
67
+ | `Object_interactive of Html_types.flow5_without_header_footer
66
68
| `Ol
67
69
| `Output
68
70
| `P
69
71
| `PCDATA
72
+ | `Picture
70
73
| `Pre
71
74
| `Progress
72
75
| `Q
@@ -83,15 +86,211 @@ Error: This expression has type
83
86
| `Sup
84
87
| `Svg
85
88
| `Table
89
+ | `Template
86
90
| `Textarea
87
91
| `Time
88
92
| `U
89
93
| `Ul
90
94
| `Var
91
- | `Video of Html_types.flow5_without_media
92
- | `Video_interactive of Html_types.flow5_without_media
95
+ | `Video of Html_types.flow5_without_media_header_footer
96
+ | `Video_interactive of
97
+ Html_types.flow5_without_media_header_footer
93
98
| `Wbr ]
94
99
Type 'b = [> `A of 'c ] is not compatible with type
95
- Html_types.flow5_without_interactive
100
+ Html_types.flow5_without_interactive_header_footer
101
+ Types for tag `A are incompatible
102
+ [1mLine 2, characters 14-28[0m:
103
+ 2 | div [address [a [address []]]];;
104
+ [1;31m^^^^^^^^^^^^^^[0m
105
+ [1;31mError[0m: This expression has type
106
+ ([> ([> Html_types.address ] as 'b) Html_types.a ] as 'a)
107
+ Tyxml.Html.elt = 'a Tyxml_html.elt
108
+ but an expression was expected of type
109
+ ([< Html_types.address_content_fun ] as 'c) Tyxml.Html.elt =
110
+ 'c Tyxml_html.elt
111
+ Type 'a = [> `A of 'b ] is not compatible with type
112
+ 'c =
113
+ [< `A of
114
+ Html_types.flow5_without_interactive_sectioning_heading_header_footer_address
115
+ | `Abbr
116
+ | `Audio of
117
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
118
+ | `Audio_interactive of
119
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
120
+ | `B
121
+ | `Bdo
122
+ | `Blockquote
123
+ | `Br
124
+ | `Button
125
+ | `Canvas of
126
+ Html_types.flow5_without_sectioning_heading_header_footer_address
127
+ | `Cite
128
+ | `Code
129
+ | `Command
130
+ | `Datalist
131
+ | `Del of
132
+ Html_types.flow5_without_sectioning_heading_header_footer_address
133
+ | `Details
134
+ | `Dfn
135
+ | `Div
136
+ | `Dl
137
+ | `Em
138
+ | `Embed
139
+ | `Fieldset
140
+ | `Figure
141
+ | `Form
142
+ | `Hr
143
+ | `I
144
+ | `Iframe
145
+ | `Img
146
+ | `Img_interactive
147
+ | `Input
148
+ | `Ins of
149
+ Html_types.flow5_without_sectioning_heading_header_footer_address
150
+ | `Kbd
151
+ | `Keygen
152
+ | `Label
153
+ | `Main
154
+ | `Map of
155
+ Html_types.flow5_without_sectioning_heading_header_footer_address
156
+ | `Mark
157
+ | `Menu
158
+ | `Meter
159
+ | `Noscript of
160
+ Html_types.flow5_without_noscript_sectioning_heading_header_footer_address
161
+ | `Object of
162
+ Html_types.flow5_without_sectioning_heading_header_footer_address
163
+ | `Object_interactive of
164
+ Html_types.flow5_without_sectioning_heading_header_footer_address
165
+ | `Ol
166
+ | `Output
167
+ | `P
168
+ | `PCDATA
169
+ | `Picture
170
+ | `Pre
171
+ | `Progress
172
+ | `Q
173
+ | `Ruby
174
+ | `Samp
175
+ | `Script
176
+ | `Select
177
+ | `Small
178
+ | `Span
179
+ | `Strong
180
+ | `Style
181
+ | `Sub
182
+ | `Sup
183
+ | `Svg
184
+ | `Table
185
+ | `Template
186
+ | `Textarea
187
+ | `Time
188
+ | `U
189
+ | `Ul
190
+ | `Var
191
+ | `Video of
192
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
193
+ | `Video_interactive of
194
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
195
+ | `Wbr ]
196
+ Type 'b = [> `Address ] is not compatible with type
197
+ Html_types.flow5_without_interactive_sectioning_heading_header_footer_address
198
+ Types for tag `A are incompatible
199
+ [1mLine 2, characters 30-48[0m:
200
+ 2 | body [dl [dd [txt "foo"]; dt [a [h1 [txt "foo"]]]]];;
201
+ [1;31m^^^^^^^^^^^^^^^^^^[0m
202
+ [1;31mError[0m: This expression has type
203
+ ([> ([> Html_types.h1 ] as 'b) Html_types.a ] as 'a) Tyxml.Html.elt
204
+ = 'a Tyxml_html.elt
205
+ but an expression was expected of type
206
+ ([< Html_types.dt_content_fun ] as 'c) Tyxml.Html.elt =
207
+ 'c Tyxml_html.elt
208
+ Type 'a = [> `A of 'b ] is not compatible with type
209
+ 'c =
210
+ [< `A of
211
+ Html_types.flow5_without_interactive_sectioning_heading_header_footer_address
212
+ | `Abbr
213
+ | `Audio of
214
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
215
+ | `Audio_interactive of
216
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
217
+ | `B
218
+ | `Bdo
219
+ | `Blockquote
220
+ | `Br
221
+ | `Button
222
+ | `Canvas of
223
+ Html_types.flow5_without_sectioning_heading_header_footer_address
224
+ | `Cite
225
+ | `Code
226
+ | `Command
227
+ | `Datalist
228
+ | `Del of
229
+ Html_types.flow5_without_sectioning_heading_header_footer_address
230
+ | `Details
231
+ | `Dfn
232
+ | `Div
233
+ | `Dl
234
+ | `Em
235
+ | `Embed
236
+ | `Fieldset
237
+ | `Figure
238
+ | `Form
239
+ | `Hr
240
+ | `I
241
+ | `Iframe
242
+ | `Img
243
+ | `Img_interactive
244
+ | `Input
245
+ | `Ins of
246
+ Html_types.flow5_without_sectioning_heading_header_footer_address
247
+ | `Kbd
248
+ | `Keygen
249
+ | `Label
250
+ | `Main
251
+ | `Map of
252
+ Html_types.flow5_without_sectioning_heading_header_footer_address
253
+ | `Mark
254
+ | `Menu
255
+ | `Meter
256
+ | `Noscript of
257
+ Html_types.flow5_without_noscript_sectioning_heading_header_footer_address
258
+ | `Object of
259
+ Html_types.flow5_without_sectioning_heading_header_footer_address
260
+ | `Object_interactive of
261
+ Html_types.flow5_without_sectioning_heading_header_footer_address
262
+ | `Ol
263
+ | `Output
264
+ | `P
265
+ | `PCDATA
266
+ | `Picture
267
+ | `Pre
268
+ | `Progress
269
+ | `Q
270
+ | `Ruby
271
+ | `Samp
272
+ | `Script
273
+ | `Select
274
+ | `Small
275
+ | `Span
276
+ | `Strong
277
+ | `Style
278
+ | `Sub
279
+ | `Sup
280
+ | `Svg
281
+ | `Table
282
+ | `Template
283
+ | `Textarea
284
+ | `Time
285
+ | `U
286
+ | `Ul
287
+ | `Var
288
+ | `Video of
289
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
290
+ | `Video_interactive of
291
+ Html_types.flow5_without_media_sectioning_heading_header_footer_address
292
+ | `Wbr ]
293
+ Type 'b = [> `H1 ] is not compatible with type
294
+ Html_types.flow5_without_interactive_sectioning_heading_header_footer_address
96
295
Types for tag `A are incompatible
97
296
0 commit comments