Skip to content

Commit

Permalink
fix(compiler): Apply correct allocation type to numbers (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Mar 6, 2022
1 parent 212faca commit b9e9d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/middle_end/anf_helper.re
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module Comp = {
mk(
~loc?,
~attributes?,
~allocation_type=StackAllocated(WasmI32),
~allocation_type=HeapAllocated,
~env?,
CNumber(i),
);
Expand Down

0 comments on commit b9e9d59

Please sign in to comment.