summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-05-02 12:38:00 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-05-02 12:38:22 +0200
commit08c7c76add593befe6135a078c8752d11ee7189c (patch)
tree6527492a0c7122c010545838a302ba3dcceebe09
parent05ec4cd875123813ce3822bfea34f03cf3514bde (diff)
downloadjustbuild-08c7c76add593befe6135a078c8752d11ee7189c.tar.gz
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.
-rw-r--r--rules/EXPRESSIONS2
1 files changed, 1 insertions, 1 deletions
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"}
}