We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f550b commit a9b9ae5Copy full SHA for a9b9ae5
ast_convenience.mli
@@ -6,7 +6,7 @@
6
7
open Asttypes
8
open Ast_helper
9
-open Parsetree (* Open Parsetree after Asttypes since parsetree overrides constant type in 'ocaml 4.03' *)
+open Parsetree
10
11
(** {2 Compatibility modules} *)
12
@@ -36,10 +36,10 @@ module Constant : sig
36
| Pconst_float of string * char option
37
38
(** Convert Asttypes.constant to Constant.t *)
39
- val of_constant : constant -> t
+ val of_constant : Parsetree.constant -> t
40
41
(** Convert Constant.t to Asttypes.constant *)
42
- val to_constant : t -> constant
+ val to_constant : t -> Parsetree.constant
43
44
end
45
0 commit comments