aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/states.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/states.ml')
-rw-r--r--library/states.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/states.ml b/library/states.ml
index 031222c7d..200b14517 100644
--- a/library/states.ml
+++ b/library/states.ml
@@ -6,6 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
+open Util
open System
type state = Lib.frozen * Summary.frozen
@@ -38,6 +39,6 @@ let with_state_protection f x =
let a = f x in unfreeze st; a
with reraise ->
let reraise = Errors.push reraise in
- (unfreeze st; raise reraise)
+ (unfreeze st; iraise reraise)
let with_state_protection_on_exception = Future.transactify