Skip to content

Commit

Permalink
unfake, but beware of the duplication!
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Dec 10, 2024
1 parent f80ffa8 commit 2e58517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ir_passes/async.ml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ let transform prog =
(primE SystemCyclesAddPrim [dotE pars "cycles" T.nat]))
else None in
let timeoutSetup = if hasTimeout
then Some (primE SystemTimeoutPrim [nat32E Mo_values.Numerics.Nat32.zero])
then Some (primE SystemTimeoutPrim [dotE pars "timeout" T.nat32])
else None in
let setup = match cyclesSetup, timeoutSetup with
| Some c, Some t -> Some (thenE c t)
Expand Down

0 comments on commit 2e58517

Please sign in to comment.