You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A jsoo project compiles with (js_of_ocaml (flags --pretty))
Actual Behavior
One gets an error
File "src/_unknown_", line 1, characters 0-0:
js_of_ocaml: unknown option '--pretty'.
Usage: js_of_ocaml link [OPTION]… [JS_FILES]…
Try 'js_of_ocaml link --help' or 'js_of_ocaml --help' for more information.
Reproduction
Try compiling a jsoo project with (js_of_ocaml (flags --pretty)
Specifications
Version of dune (output of dune --version): 3.0.3
Version of ocaml (output of ocamlc --version): 4.14.0
Operating system (distribution and version): macOS Monterey 12.2.1 (21D62)
Js_of_ocaml 4.0.0
Additional information
The documentation says that (flags ...) is passed to js_of_ocaml compile but actually it is passed to js_of_ocaml link as well. See this line
Thanks,
Ulugbek
The text was updated successfully, but these errors were encountered:
ulugbekna
pushed a commit
to ulugbekna/vscode-ocaml-platform
that referenced
this issue
Apr 8, 2022
Expected Behavior
A jsoo project compiles with
(js_of_ocaml (flags --pretty))
Actual Behavior
One gets an error
Reproduction
Try compiling a jsoo project with
(js_of_ocaml (flags --pretty)
Specifications
dune
(output ofdune --version
): 3.0.3ocaml
(output ofocamlc --version
): 4.14.0Additional information
The documentation says that
(flags ...)
is passed tojs_of_ocaml compile
but actually it is passed tojs_of_ocaml link
as well. See this lineThanks,
Ulugbek
The text was updated successfully, but these errors were encountered: