mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-18 19:11:37 +03:00
Throw error in incorporateTrace if no to-do points.
This commit is contained in:
parent
0079254b8b
commit
3efc8acaed
@ -167,7 +167,7 @@ incorporateTrace dependency conservative trace dpor0 = grow initialDepState (ini
|
|||||||
, dporTodo = M.delete tid' (dporTodo dpor)
|
, dporTodo = M.delete tid' (dporTodo dpor)
|
||||||
, dporDone = done
|
, dporDone = done
|
||||||
}
|
}
|
||||||
grow _ _ [] dpor = dpor
|
grow _ _ [] _ = err "incorporateTrace" "trace exhausted without reading a to-do point!"
|
||||||
|
|
||||||
-- Construct a new subtree corresponding to a trace suffix.
|
-- Construct a new subtree corresponding to a trace suffix.
|
||||||
subtree state tid sleep ((_, _, a):rest) =
|
subtree state tid sleep ((_, _, a):rest) =
|
||||||
|
Loading…
Reference in New Issue
Block a user