File: run.t

package info (click to toggle)
ocaml-odoc 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,008 kB
  • sloc: ml: 60,567; javascript: 2,572; sh: 566; makefile: 31
file content (26 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (2)
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
  $ ocamlc -c -bin-annot module_with_errors.mli
  $ ocamlc -c -bin-annot main.mli

  $ odoc compile module_with_errors.cmti
  $ odoc compile main.cmti -I .
  $ odoc link main.odoc
  File "module_with_errors.mli", line 7, characters 6-10:
  Warning: While resolving the expansion of include at File "main.mli", line 1, character 0
  Reference to 't' is ambiguous. Please specify its kind: section-t, type-t.
  $ odoc html-generate -o html main.odocl
  $ odoc support-files -o html

  $ odoc compile --warnings-tag foo module_with_errors.cmti
  $ odoc compile main.cmti -I .
  $ odoc link main.odoc

  $ odoc link --warnings-tags foo main.odoc
  File "module_with_errors.mli", line 7, characters 6-10:
  Warning: While resolving the expansion of include at File "main.mli", line 1, character 0
  Reference to 't' is ambiguous. Please specify its kind: section-t, type-t.

  $ odoc html-generate -o html2 main.odocl
  $ odoc support-files -o html2