From bc78bea63b7c75e8a9d222dc86fb75ed293a2242 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 21 Nov 2026 12:22:50 +0100 Subject: Renamed the module Typ into Types --- lib/configuration/ast.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/configuration/ast.ml') diff --git a/lib/configuration/ast.ml b/lib/configuration/ast.ml index 8ea92b2..6703386 100644 --- a/lib/configuration/ast.ml +++ b/lib/configuration/ast.ml @@ -67,7 +67,7 @@ let get_reference_target : Model.field -> Model.content option = | MonoReference r | MultiReference r -> ( (* References to static lists are leaves of the dependency graph: they are not followed here. *) - match r.Model.Typ.t with + match r.Model.Types.t with | Model.Reference.List _ -> None | Model.Reference.Content ref -> ( try Some (Model.Reference.get ref) @@ -127,7 +127,7 @@ let check_fields : Model.Identifier.t -> Model.field Seq.t -> unit = | Some first -> let (T t1) = Model.Field.type_ first in let (T t2) = Model.Field.type_ field in - if Option.is_none (Model.Typ.eq t1 t2) then + if Option.is_none (Model.Types.eq t1 t2) then raise (ConflictingFields (owner, name))) fields -- cgit v1.2.3