summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-04-29 13:59:30 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-04-29 13:59:48 +0200
commit71e53e4c05201e97717e5fef24c6e5ce5eda980c (patch)
tree8fe88934857eb3bf7dcba476b05d75791e2f625d /data
parent124d53937a088813a95317fcd535acc0cf69024a (diff)
downloadrules-cc-71e53e4c05201e97717e5fef24c6e5ce5eda980c.tar.gz
rules: Perform disjoint map union in field_* expressions
... and replace all instances where the field_*_list variant of those expressions is used solely for the purpose of performing the disjoint union manually.
Diffstat (limited to 'data')
-rw-r--r--data/RULES11
1 files changed, 4 insertions, 7 deletions
diff --git a/data/RULES b/data/RULES
index 4c695e9..df6acce 100644
--- a/data/RULES
+++ b/data/RULES
@@ -14,7 +14,7 @@
, "specified in \"stage\"."
]
, "runfiles_doc": ["Same as artifacts"]
- , "imports": {"runfiles_list": ["./", "..", "field_runfiles_list"]}
+ , "imports": {"runfiles": ["./", "..", "field_runfiles"]}
, "expression":
{ "type": "let*"
, "bindings":
@@ -25,12 +25,9 @@
}
]
, [ "srcs"
- , { "type": "disjoint_map_union"
- , "$1":
- { "type": "let*"
- , "bindings": [["fieldname", "srcs"]]
- , "body": {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
- }
+ , { "type": "let*"
+ , "bindings": [["fieldname", "srcs"]]
+ , "body": {"type": "CALL_EXPRESSION", "name": "runfiles"}
}
]
, [ "staged"