aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/goptions.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/goptions.ml')
-rw-r--r--library/goptions.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/goptions.ml b/library/goptions.ml
index bdc6ab89d..597c23b7d 100644
--- a/library/goptions.ml
+++ b/library/goptions.ml
@@ -240,7 +240,7 @@ let declare_option cast uncast
load_function = (fun _ (_,v) -> write v)}
in
let _ = Summary.declare_summary (nickname key)
- { Summary.freeze_function = read;
+ { Summary.freeze_function = (fun _ -> read ());
Summary.unfreeze_function = write;
Summary.init_function = (fun () -> write default) }
in