summaryrefslogtreecommitdiff
path: root/lib/configuration/read_conf.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration/read_conf.ml')
-rw-r--r--lib/configuration/read_conf.ml9
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 =