From 08c7c76add593befe6135a078c8752d11ee7189c Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 2 May 2022 12:38:00 +0200 Subject: Expression ['', 'field_runfiles']: ensure disjointness ... by using "disjoint_map_union" instead of "map_union" which has a latest-wins semantics and does not have a "msg" arguement. --- rules/EXPRESSIONS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/EXPRESSIONS b/rules/EXPRESSIONS index 1c2ff84a..f40e5a3a 100644 --- a/rules/EXPRESSIONS +++ b/rules/EXPRESSIONS @@ -59,7 +59,7 @@ } , "imports": {"runfiles_list": "field_runfiles_list"} , "expression": - { "type": "map_union" + { "type": "disjoint_map_union" , "msg": "runfiles must not overlap" , "$1": {"type": "CALL_EXPRESSION", "name": "runfiles_list"} } -- cgit v1.2.3