From 326601fdcad8635625e7a706a5426652a4c1de78 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. --- EXPRESSIONS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXPRESSIONS b/EXPRESSIONS index 1c2ff84..f40e5a3 100644 --- a/EXPRESSIONS +++ b/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