diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-18 17:52:21 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-18 17:52:21 +0100 |
| commit | 7b5baa29818c9fe6e33d50c8458aa2824274158e (patch) | |
| tree | b46d98b0ba039fc77bcf7a4aabd9f453acde8d91 /lib/configuration/read_conf.ml | |
| parent | 7f04f2f18bdaada855e2f3abfd64b420d9dba127 (diff) | |
Updated the configuration format
Diffstat (limited to 'lib/configuration/read_conf.ml')
| -rw-r--r-- | lib/configuration/read_conf.ml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/configuration/read_conf.ml b/lib/configuration/read_conf.ml index f079e4e..66cd1fe 100644 --- a/lib/configuration/read_conf.ml +++ b/lib/configuration/read_conf.ml @@ -134,6 +134,15 @@ module Make (S : Decoders.Decode.S) = struct ^ "\". Expected existing list or content" in S.fail_with (Decoders.Error.make ~context message)) + | Error (Ast.NotImplemented (ty', context, name) as e) -> ( + match Type.Id.provably_equal ty ty' with + | None -> raise e + | Some Type.Equal -> + let message = + "Unsupported target \"" ^ name + ^ "\". Lists as target are not implemented yet" + in + S.fail_with (Decoders.Error.make ~context message)) | Error (Graph_tree.Cycle contents) -> let content_name = List.map contents ~f:(fun c -> Model.Content.id c) in let message = |
