diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:22:50 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:22:50 +0100 |
| commit | bc78bea63b7c75e8a9d222dc86fb75ed293a2242 (patch) | |
| tree | 6c864df4d57200c20c7f712ada20a6111ca31538 /lib/configuration/ast.ml | |
| parent | 9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da (diff) | |
Renamed the module Typ into Types
Diffstat (limited to 'lib/configuration/ast.ml')
| -rw-r--r-- | lib/configuration/ast.ml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
