diff options
Diffstat (limited to 'lib/configuration')
| -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 |
