File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ let dump ?filter rescript_json cmt_path =
95
95
dump_module indent m
96
96
and dump_module indent (module_ : Module.t ) =
97
97
match module_ with
98
- | Ident path -> Printf. printf " Module (Ident) %s\n " (Path. to_string path)
98
+ | Ident path -> Printf. printf " Module (Ident) %s\n " (Path. name path)
99
99
| Structure structure -> dump_structure indent structure
100
100
| Constraint (m1 , m2 ) ->
101
101
dump_module indent m1;
Original file line number Diff line number Diff line change @@ -104,8 +104,3 @@ let is_constructor_typath p =
104
104
match constructor_typath p with
105
105
| Regular _ -> false
106
106
| _ -> true
107
-
108
- let rec to_string = function
109
- | Pident id -> Ident. name id
110
- | Pdot (p , s , _ ) -> to_string p ^ " ." ^ s
111
- | Papply (p1 , p2 ) -> to_string p1 ^ " (" ^ to_string p2 ^ " )"
Original file line number Diff line number Diff line change @@ -42,4 +42,3 @@ type typath =
42
42
43
43
val constructor_typath : t -> typath
44
44
val is_constructor_typath : t -> bool
45
- val to_string : t -> string
You can’t perform that action at this time.
0 commit comments