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
197
197
| SFBconst _ -> [GlobRef. ConstRef (Constant. make2 mp label)]
198
198
| SFBmind _ -> [GlobRef. IndRef (MutInd. make2 mp label, 0 )]
199
199
| 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 []
202
202
in
203
203
CList. map_append get_ref body
204
204
in aux' mb mp
205
- in aux (mod_type mb) (mod_mp mb)
205
+ in aux (mod_type mb) mp
206
206
207
207
let tmQuoteModule (qualid : qualid ) : global_reference list tm =
208
208
fun ~st env evd success _fail ->
You can’t perform that action at this time.
0 commit comments