File: html_fail.expected

package info (click to toggle)
tyxml 4.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 944 kB
  • sloc: ml: 9,712; makefile: 91; javascript: 3
file content (97 lines) | stat: -rw-r--r-- 2,589 bytes parent folder | download | duplicates (3)
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
Characters 6-14:
  div [a [a []]] ;;
       ^^^^^^^^
Error: This expression has type
         ([> 'b Html_types.a ] as 'a) Tyxml.Html.elt = 'a Tyxml_html.elt
       but an expression was expected of type
         ([< Html_types.div_content_fun ] as 'd) Tyxml.Html.elt =
           'd Tyxml_html.elt
       Type 'a = [> `A of 'b ] is not compatible with type
         'd =
           [< `A of Html_types.flow5_without_interactive
            | `Abbr
            | `Address
            | `Article
            | `Aside
            | `Audio of Html_types.flow5_without_media
            | `Audio_interactive of Html_types.flow5_without_media
            | `B
            | `Bdo
            | `Blockquote
            | `Br
            | `Button
            | `Canvas of Html_types.flow5
            | `Cite
            | `Code
            | `Command
            | `Datalist
            | `Del of Html_types.flow5
            | `Details
            | `Dfn
            | `Div
            | `Dl
            | `Em
            | `Embed
            | `Fieldset
            | `Figure
            | `Footer
            | `Form
            | `H1
            | `H2
            | `H3
            | `H4
            | `H5
            | `H6
            | `Header
            | `Hgroup
            | `Hr
            | `I
            | `Iframe
            | `Img
            | `Img_interactive
            | `Input
            | `Ins of Html_types.flow5
            | `Kbd
            | `Keygen
            | `Label
            | `Main
            | `Map of Html_types.flow5
            | `Mark
            | `Menu
            | `Meter
            | `Nav
            | `Noscript of Html_types.flow5_without_noscript
            | `Object of Html_types.flow5
            | `Object_interactive of Html_types.flow5
            | `Ol
            | `Output
            | `P
            | `PCDATA
            | `Pre
            | `Progress
            | `Q
            | `Ruby
            | `Samp
            | `Script
            | `Section
            | `Select
            | `Small
            | `Span
            | `Strong
            | `Style
            | `Sub
            | `Sup
            | `Svg
            | `Table
            | `Textarea
            | `Time
            | `U
            | `Ul
            | `Var
            | `Video of Html_types.flow5_without_media
            | `Video_interactive of Html_types.flow5_without_media
            | `Wbr ] 
       Type 'b = [> `A of 'c ] is not compatible with type
         Html_types.flow5_without_interactive 
       Types for tag `A are incompatible