8000 fix(flambda2): Use correct kind in rebuild_naked_number_array by bclement-ocp · Pull Request #4237 · oxcaml/oxcaml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(flambda2): Use correct kind in rebuild_naked_number_array #4237

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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: 2 additions & 1 deletion middle_end/flambda2/simplify/simplify_static_const.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ let simplify_or_variable dacc type_for_const (or_variable : _ Or_variable.t)
let rebuild_naked_number_array dacc ~bind_result_sym kind type_creator creator
~fields =
let fields, field_tys =
let kind = KS.kind kind in
List.map
(fun field -> simplify_or_variable dacc type_creator field K.naked_float)
(fun field -> simplify_or_variable dacc type_creator field kind)
fields
|> List.split
in
Expand Down
Loading
0