Skip to content

Commit a9b9ae5

Browse files
committed
Prefix the module name in constant
1 parent 53f550b commit a9b9ae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: ast_convenience.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
open Asttypes
88
open Ast_helper
9-
open Parsetree (* Open Parsetree after Asttypes since parsetree overrides constant type in 'ocaml 4.03' *)
9+
open Parsetree
1010

1111
(** {2 Compatibility modules} *)
1212

@@ -36,10 +36,10 @@ module Constant : sig
3636
| Pconst_float of string * char option
3737

3838
(** Convert Asttypes.constant to Constant.t *)
39-
val of_constant : constant -> t
39+
val of_constant : Parsetree.constant -> t
4040

4141
(** Convert Constant.t to Asttypes.constant *)
42-
val to_constant : t -> constant
42+
val to_constant : t -> Parsetree.constant
4343

4444
end
4545

0 commit comments

Comments
 (0)