-
Notifications
You must be signed in to change notification settings - Fork 197
Labels
Description
I am testing js_of_ocaml 6.2.0 and some of our code triggers (only when built in release mode) the following fatal error:
Some variables escaped (#1). Use [--debug js_assign] for more info.
/home/nojebar/mlfi/mlfi-ins/bin/js_of_ocaml: You found a bug. Please report it at https://github.com/ocsigen/js_of_ocaml/issues :
Error: File "js_of_ocaml/compiler/lib/js_assign.ml", line 503, characters 5-11: Assertion failed
The file being built looks like:
(executable
(name foo)
(libraries lib)
(modes js))
where lib is a large-ish unwrapped library built with (library_flags -linkall). Unfortunately, I haven't been able to produce a small reproduction case so far. In case it is helpful, the output of --debug js_assign is attached