File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
quickcheck-dynamic/test/Spec/DynamicLogic Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import Data.List qualified as List
1111
1212data Reg m = Reg
1313 { registered :: [(String , ThreadId m )]
14+ -- This is because IOSim doesn't have a way to tell if a thread is alive or
15+ -- not
1416 , aliveThreads :: [ThreadId m ]
1517 }
1618
Original file line number Diff line number Diff line change @@ -167,6 +167,8 @@ instance GoodMonad m => RunModel (RegState m) (RegM m) where
167167 counterexample (show res ++ " <- " ++ show act ++ " \n -- State: " ++ show s')
168168 . tabulate " Registry size" [show $ Map. size (regs s')]
169169
170+ -- NOTE: We rely on the default implementation of `performPar` here because
171+ -- `perform` doesn't actually look at the state.
170172instance GoodMonad m => RunModelPar (RegState m ) (RegM m )
171173
172174data ShowDict a where
You can’t perform that action at this time.
0 commit comments