diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-20 18:47:26 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-20 18:47:26 +0100 |
| commit | fa4970bf1b74f3fa0b2f63cbd461d98c251dc0f0 (patch) | |
| tree | 577a41415e67510f08f43fc48c794c36a10f6e80 /lib/configuration/ast.mli | |
| parent | b05e2d2be7be28ee6c577671002797cf9abaf177 (diff) | |
Updated the model for representing ocaml types in the application type
Diffstat (limited to 'lib/configuration/ast.mli')
| -rw-r--r-- | lib/configuration/ast.mli | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
