diff options
author | 2017-06-01 15:50:03 +0200 | |
---|---|---|
committer | 2017-06-01 15:50:03 +0200 | |
commit | 52ff7a60c23ad31a7e0eb9b0bdb5b7c7c23162f3 (patch) | |
tree | 1455de14a615ce50e91e50551d60e82e6f7ab70a /interp/constrintern.ml | |
parent | 3840dbd43398e5ff6ed7dbbc1cc6b19ec2eddb97 (diff) | |
parent | 563d173d86cb8fbaccad70ee4c665aa60beb069c (diff) |
Merge PR#696: Trunk+cleanup constr of global
Diffstat (limited to 'interp/constrintern.ml')
-rw-r--r-- | interp/constrintern.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml index 81ebf6561..190369e8f 100644 --- a/interp/constrintern.ml +++ b/interp/constrintern.ml @@ -98,16 +98,16 @@ let global_reference_of_reference ref = locate_reference (snd (qualid_of_reference ref)) let global_reference id = - Universes.constr_of_global (locate_reference (qualid_of_ident id)) + locate_reference (qualid_of_ident id) let construct_reference ctx id = try - Term.mkVar (let _ = Context.Named.lookup id ctx in id) + VarRef (let _ = Context.Named.lookup id ctx in id) with Not_found -> global_reference id let global_reference_in_absolute_module dir id = - Universes.constr_of_global (Nametab.global_of_path (Libnames.make_path dir id)) + Nametab.global_of_path (Libnames.make_path dir id) (**********************************************************************) (* Internalization errors *) |