diff options
Diffstat (limited to 'library/lib.ml')
-rw-r--r-- | library/lib.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/lib.ml b/library/lib.ml index e1dd9ae39..0580661c5 100644 --- a/library/lib.ml +++ b/library/lib.ml @@ -513,13 +513,14 @@ let close_section () = type frozen = Names.DirPath.t option * library_segment let freeze ~marshallable = - if marshallable = `Shallow then + match marshallable with + | `Shallow -> (* TASSI: we should do something more sensible here *) let _, initial_prefix = CList.split_when (function _, CompilingLibrary _ -> true | _ -> false) !lib_stk in !comp_name, initial_prefix - else + | _ -> !comp_name, !lib_stk let unfreeze (mn,stk) = |