Ppx_template_expander.With_constraintval convert :
Astlib.Ast_500.Parsetree.module_type ->
Astlib.Ast_500.Parsetree.signature ->
(Astlib.Ast_500.Parsetree.module_type,
Ppx_template_expander__.Syntax_error.t)
resultconvert mty sig_ returns the module type corresponding to
mty [@with: sig_]where sig_ has already been monomorphized by ppx_template.
Only some constructs have meaning in sig_
include sig end and [%%template:] are inlinedtype t = t or module type S := S) are converted to with constraints on mtymodule M : sig ... end is used to construct contsraints with multi-part identifier paths, e.g.
module M : sig
type t := t
endproduces a with type M.t := t constraint