We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721e1da commit 6eed02eCopy full SHA for 6eed02e
src/dune_rules/jsoo/jsoo_rules.ml
@@ -225,10 +225,9 @@ end = struct
225
else
226
Some "--enable=effects"
227
| Some Double_translation ->
228
- if recent then
229
- Some "--effects=double-translation"
230
- else
231
- failwith "--effects=double-translation is not supported before version js_of_ocaml 6.0"
+ (* For js_of_ocaml < 6.0, this flag does not exist and will raise an error,
+ which is fine. *)
+ Some "--effects=double-translation"
232
;;
233
234
let to_flags ~recent t =
0 commit comments