diff options
Diffstat (limited to 'contrib/romega/const_omega.ml')
-rw-r--r-- | contrib/romega/const_omega.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/romega/const_omega.ml b/contrib/romega/const_omega.ml index 42b61a150..8b055e296 100644 --- a/contrib/romega/const_omega.ml +++ b/contrib/romega/const_omega.ml @@ -21,15 +21,15 @@ let destructurate t = match Term.kind_of_term c, args with | Term.Const sp, args -> Kapp (Names.string_of_id - (Nametab.id_of_global None (Libnames.ConstRef sp)), + (Nametab.id_of_global (Libnames.ConstRef sp)), args) | Term.Construct csp , args -> Kapp (Names.string_of_id - (Nametab.id_of_global None (Libnames.ConstructRef csp)), + (Nametab.id_of_global (Libnames.ConstructRef csp)), args) | Term.Ind isp, args -> Kapp (Names.string_of_id - (Nametab.id_of_global None (Libnames.IndRef isp)),args) + (Nametab.id_of_global (Libnames.IndRef isp)),args) | Term.Var id,[] -> Kvar(Names.string_of_id id) | Term.Prod (Names.Anonymous,typ,body), [] -> Kimp(typ,body) | Term.Prod (Names.Name _,_,_),[] -> @@ -47,7 +47,7 @@ let dest_const_apply t = | Term.Ind isp -> Libnames.IndRef isp | _ -> raise Destruct in - Nametab.id_of_global None ref, args + Nametab.id_of_global ref, args let recognize_number t = let rec loop t = |