We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1e57c commit 508d0fbCopy full SHA for 508d0fb
io-sim/src/Control/Monad/IOSim/Internal.hs
@@ -349,9 +349,9 @@ schedule !thread@Thread{
349
!t = Timeout tvar tvar' nextTmid
350
!timers' = PSQ.insert nextTmid expiry (TimerVars tvar tvar') timers
351
!thread' = thread { threadControl = ThreadControl (k t) ctl }
352
- trace <- schedule thread' simstate { timers = timers'
353
- , nextVid = succ (succ nextVid)
354
- , nextTmid = succ nextTmid }
+ !trace <- schedule thread' simstate { timers = timers'
+ , nextVid = succ (succ nextVid)
+ , nextTmid = succ nextTmid }
355
return (SimTrace time tid tlbl (EventTimerCreated nextTmid nextVid expiry) trace)
356
357
-- we do not follow `GHC.Event` behaviour here; updating a timer to the past
0 commit comments