File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,12 +197,12 @@ let quote_module ~(include_functor : bool) ~(include_submodule : bool) ~(include
197197 | SFBconst _ -> [GlobRef. ConstRef (Constant. make2 mp label)]
198198 | SFBmind _ -> [GlobRef. IndRef (MutInd. make2 mp label, 0 )]
199199 | SFBrules _ -> failwith " Rewrite rules are not supported by TemplateCoq"
200- | SFBmodule mb -> if include_submodule then aux (mod_type mb) (mod_mp mb ) else []
201- | SFBmodtype mtb -> if include_submodtype then aux (mod_type mtb) (mod_mp mtb ) else []
200+ | SFBmodule mb -> if include_submodule then aux (mod_type mb) (MPdot (mp, label) ) else []
201+ | SFBmodtype mtb -> if include_submodtype then aux (mod_type mtb) (MPdot (mp, label) ) else []
202202 in
203203 CList. map_append get_ref body
204204 in aux' mb mp
205- in aux (mod_type mb) (mod_mp mb)
205+ in aux (mod_type mb) mp
206206
207207let tmQuoteModule (qualid : qualid ) : global_reference list tm =
208208 fun ~st env evd success _fail ->
You can’t perform that action at this time.
0 commit comments