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 =
9595 dump_module indent m
9696 and dump_module indent (module_ : Module.t ) =
9797 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)
9999 | Structure structure -> dump_structure indent structure
100100 | Constraint (m1 , m2 ) ->
101101 dump_module indent m1;
Original file line number Diff line number Diff line change @@ -104,8 +104,3 @@ let is_constructor_typath p =
104104 match constructor_typath p with
105105 | Regular _ -> false
106106 | _ -> 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 =
4242
4343val constructor_typath : t -> typath
4444val is_constructor_typath : t -> bool
45- val to_string : t -> string
You can’t perform that action at this time.
0 commit comments