From 7af50ad5131606e50b3945b093f2a55454725c2e Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Thu, 19 Oct 2023 10:22:49 -0400 Subject: [PATCH] Resolve conflicts in bytecomp and file_formats mlis --- bytecomp/bytelink.mli | 10 ++-------- file_formats/cmt_format.mli | 6 ------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/bytecomp/bytelink.mli b/bytecomp/bytelink.mli index 96d40cfaec..40be60f55a 100644 --- a/bytecomp/bytelink.mli +++ b/bytecomp/bytelink.mli @@ -17,7 +17,7 @@ open Misc (* Link .cmo files and produce a bytecode executable. *) -module Dep : Set.OrderedType with type t = modname * modname +module Dep : Set.OrderedType with type t = string * string module DepSet : Set.S with type elt = Dep.t val link : filepath list -> filepath -> unit @@ -38,14 +38,8 @@ type error = | Cannot_open_dll of filepath | Required_module_unavailable of string * Compilation_unit.t | Camlheader of string * filepath -<<<<<<< HEAD - | Wrong_link_order of (string * string) list -||||||| merged common ancestors - | Wrong_link_order of (modname * modname) list -======= | Wrong_link_order of DepSet.t - | Multiple_definition of modname * filepath * filepath ->>>>>>> ocaml/5.1 + | Multiple_definition of string * filepath * filepath exception Error of error diff --git a/file_formats/cmt_format.mli b/file_formats/cmt_format.mli index 6c047fc786..e1b233fa68 100644 --- a/file_formats/cmt_format.mli +++ b/file_formats/cmt_format.mli @@ -93,13 +93,7 @@ val save_cmt : binary_annots -> string option -> (* source file *) Env.t -> (* initial env *) -<<<<<<< HEAD Cmi_format.cmi_infos_lazy option -> (* if a .cmi was generated *) -||||||| merged common ancestors - Cmi_format.cmi_infos option -> (* if a .cmi was generated *) -======= - Cmi_format.cmi_infos option -> (* if a .cmi was generated *) ->>>>>>> ocaml/5.1 Shape.t option -> unit