File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ let path_of_type_decl ~path type_decl =
349
349
| Some { ptyp_desc = Ptyp_constr ({ txt = lid } , _ ) } ->
350
350
begin match lid with
351
351
| Lident _ -> []
352
- | Ldot (lid , _ ) -> Ocaml_common .Longident. flatten lid
352
+ | Ldot (lid , _ ) -> Astlib .Longident. flatten lid
353
353
| Lapply _ -> assert false
354
354
end
355
355
| _ -> path
@@ -608,13 +608,13 @@ let derive path pstr_loc item attributes fn arg =
608
608
name,
609
609
Options
610
610
(options |> List. map (fun ({ txt } , expr ) ->
611
- String. concat " ." (Ocaml_common .Longident. flatten txt), expr))
611
+ String. concat " ." (Astlib .Longident. flatten txt), expr))
612
612
| { pexp_desc = Pexp_apply ({ pexp_desc = Pexp_ident name } , _ ) } ->
613
613
name, Unknown_syntax
614
614
| { pexp_loc } ->
615
615
raise_errorf ~loc: pexp_loc " Unrecognized [@@deriving] syntax"
616
616
in
617
- let name, loc = String. concat " _" (Ocaml_common .Longident. flatten name.txt), name.loc in
617
+ let name, loc = String. concat " _" (Astlib .Longident. flatten name.txt), name.loc in
618
618
let is_optional, options =
619
619
match options with
620
620
| Unknown_syntax -> false , options
You can’t perform that action at this time.
0 commit comments