Skip to content

Add comment about structured constants for mixed blocks #2692

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

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ocaml/lambda/translcore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ and transl_exp0 ~in_new_scope ~scopes sort e =
let shape = transl_mixed_product_shape shape in
Some (Const_mixed_block(runtime_tag, shape, constants))
else
(* CR layouts v5.9: Structured constants for mixed blocks should
be supported in bytecode. See symtable.ml for the difficulty.
*)
None
| Constructor_uniform_value ->
Some (Const_block(runtime_tag, constants)))
Expand Down
Loading