diff src/mod_db.sig @ 1737:78d7cc9c9b18

Don't modify the module cache after elaboration failures
author Adam Chlipala <adam@chlipala.net>
date Wed, 02 May 2012 08:56:19 -0400
parents 4a03aa3251cb
children
line wrap: on
line diff
--- a/src/mod_db.sig	Wed May 02 08:34:50 2012 -0400
+++ b/src/mod_db.sig	Wed May 02 08:56:19 2012 -0400
@@ -35,4 +35,8 @@
      * We might invalidate other declarations that depend on this one, if the timestamp has changed. *)
 
     val lookup : Source.decl -> Elab.decl option
+
+    (* Allow undoing to snapshots after failed compilations. *)
+    val snapshot : unit -> unit
+    val revert : unit -> unit
 end