Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

closures and js_of_ocaml #8

Closed
Armael opened this issue Nov 10, 2023 · 1 comment
Closed

closures and js_of_ocaml #8

Armael opened this issue Nov 10, 2023 · 1 comment

Comments

@Armael
Copy link
Contributor

Armael commented Nov 10, 2023

Running ocaml-memgraph under js_of_ocaml means that the closure representation is different from native and bytecode.
For instance, trying to display the graph for (fun () () -> ()) will raise an assertion failure in mk_closinfo.

One idea would be to read Sys.backend_type to avoid reading into a closure block in the Other case.

@Armael
Copy link
Contributor Author

Armael commented Jan 19, 2024

Fixed by #10 .

@Armael Armael closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant