File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ let extract_sig_open env loc mty =
144
144
(* Extract the signature of a functor's body, using the provided [sig_acc]
145
145
signature to fill in names from its parameter *)
146
146
let extract_sig_functor_open funct_body env loc mty sig_acc =
147
+ let sig_acc = List. rev sig_acc in
147
148
match Env. scrape_alias env mty with
148
149
| Mty_functor (Named (param , mty_param ),mty_result ) as mty_func ->
149
150
let sg_param =
@@ -154,7 +155,7 @@ let extract_sig_functor_open funct_body env loc mty sig_acc =
154
155
let coercion =
155
156
try
156
157
Includemod. include_functor_signatures ~mark: Mark_both env
157
- ( List. rev sig_acc) sg_param
158
+ sig_acc sg_param
158
159
with Includemod. Error msg ->
159
160
raise (Error (loc, env, Not_included_functor msg))
160
161
in
You can’t perform that action at this time.
0 commit comments