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

Fix issue with arrays and creation of recursive values. #5640

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

cristianoc
Copy link
Collaborator

Not clear where the reference to ocaml/ocaml#6939 comes from, as that issue is about unboxed float arrays.

See https://forum.rescript-lang.org/t/recursive-type-usage-problem/3717

Not clear where the reference to ocaml/ocaml#6939 comes from, as that issue is about unboxed float arrays.

See https://forum.rescript-lang.org/t/recursive-type-usage-problem/3717
@@ -236,10 +236,7 @@ let rec expression : Env.env -> Typedtree.expression -> Use.t =
let arg env (_, eo) = option expression env eo in
Use.(join (inspect (expression env e)) (inspect (list arg env args)))
| Texp_tuple exprs -> Use.guard (list expression env exprs)
| Texp_array exprs ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line seems to be coming from here: 0f3d69a

but it's unclear where it's coming from

@cristianoc cristianoc merged commit fa68a2d into master Sep 7, 2022
@cristianoc cristianoc deleted the array_rec_check branch September 7, 2022 02:10
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

Successfully merging this pull request may close these issues.

1 participant