diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-05-02 12:38:00 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-05-02 12:38:22 +0200 |
commit | 08c7c76add593befe6135a078c8752d11ee7189c (patch) | |
tree | 6527492a0c7122c010545838a302ba3dcceebe09 | |
parent | 05ec4cd875123813ce3822bfea34f03cf3514bde (diff) | |
download | justbuild-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/EXPRESSIONS | 2 |
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"} } |