diff options
author | Chimrod <> | 2024-03-28 17:01:36 +0100 |
---|---|---|
committer | Chimrod <> | 2024-03-28 17:01:36 +0100 |
commit | 371c5518fd1cd7d0369984c8198d4e6c142bd332 (patch) | |
tree | 2af43b7313e93d473269aa09eaf552c787ceb047 /lib/syntax/dup_test.ml | |
parent | 246d3c93e6c628e333c047e225edd284ed156ecb (diff) |
Raise the message level from Warning to Error for duplicated predicates check
Diffstat (limited to 'lib/syntax/dup_test.ml')
-rw-r--r-- | lib/syntax/dup_test.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/syntax/dup_test.ml b/lib/syntax/dup_test.ml index 7086a6f..20faa56 100644 --- a/lib/syntax/dup_test.ml +++ b/lib/syntax/dup_test.ml @@ -179,8 +179,9 @@ module Location = struct tl in - (* Ignore the first case, and report all the following ones *) - Some (Report.warn hd message) + (* Report all the messages as error. They do not break the game, but + there is no question if it should *) + Some (Report.error hd message) let v : t -> Report.t list = fun t -> List.filter_map t ~f:v' |> List.sort_uniq ~cmp:Report.compare |