Skip to content

Commit 98a8b05

Browse files
committed
Fix misattribution of races docs to nextUnique
1 parent ef82ae8 commit 98a8b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io-sim/src/Control/Monad/IOSimPOR/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ data SimState s a = SimState {
198198
clocks :: !(Map ClockId UTCTime),
199199
nextVid :: !VarId, -- ^ next unused 'TVarId'
200200
nextTmid :: !TimeoutId, -- ^ next unused 'TimeoutId'
201+
nextUniq :: !(Unique s), -- ^ next unused @'Unique' s@
201202
-- | previous steps (which we may race with).
202203
-- Note this is *lazy*, so that we don't compute races we will not reverse.
203-
nextUniq :: !(Unique s), -- ^ next unused @'Unique' s@
204204
races :: Races,
205205
-- | control the schedule followed, and initial value
206206
control :: !ScheduleControl,

0 commit comments

Comments
 (0)