diff options
Diffstat (limited to 'interp/modintern.ml')
-rw-r--r-- | interp/modintern.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/modintern.ml b/interp/modintern.ml index 8a0c8e545..a8c0b22f3 100644 --- a/interp/modintern.ml +++ b/interp/modintern.ml @@ -79,9 +79,9 @@ let lookup_modtype (loc,qid) = Modops.error_not_a_modtype_loc loc (string_of_qualid qid) let transl_with_decl env = function - | CWith_Module (id,qid) -> + | CWith_Module ((_,id),qid) -> With_Module (id,lookup_module qid) - | CWith_Definition (id,c) -> + | CWith_Definition ((_,id),c) -> With_Definition (id,interp_constr Evd.empty env c) let rec interp_modtype env = function |