From fa4970bf1b74f3fa0b2f63cbd461d98c251dc0f0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 20 Nov 2026 18:47:26 +0100 Subject: Updated the model for representing ocaml types in the application type --- lib/configuration/ast.mli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/configuration/ast.mli') diff --git a/lib/configuration/ast.mli b/lib/configuration/ast.mli index b014c9b..404c26e 100644 --- a/lib/configuration/ast.mli +++ b/lib/configuration/ast.mli @@ -25,6 +25,10 @@ exception BrokenLink : ('a Type.Id.t * 'a * Model.Identifier.t) -> exn (** Exception raised when a reference in the configuration targets neither an existing content nor a declared list *) +exception ConflictingFields of Model.Identifier.t * Model.Identifier.t +(** Exception raised when a content or a list declares two fields with the same + name but different types *) + val register_list : setting -> Model.list -> setting (** Register a list in the setting, replacing any previous list with the same id. Lists are registered while they are decoded, so that a list can -- cgit v1.2.3