summaryrefslogtreecommitdiff
path: root/rules/EXPRESSIONS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-14 15:48:58 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-14 15:48:58 +0100
commit86144c718100d4b424d95a187c3ed4b9ffb04e8d (patch)
treedbbb9dd54a3ee49f6a565026a910e514c0ac4359 /rules/EXPRESSIONS
parent886c7b680928276d7f925d30fc206ca27d9a97d1 (diff)
parentb1859c1ba4229812497da501e2843ab20d27682b (diff)
downloadrules-cc-86144c718100d4b424d95a187c3ed4b9ffb04e8d.tar.gz
Merge commit 'b1859c1ba4229812497da501e2843ab20d27682b' into rules
Diffstat (limited to 'rules/EXPRESSIONS')
-rw-r--r--rules/EXPRESSIONS6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/EXPRESSIONS b/rules/EXPRESSIONS
index f40e5a3..b974026 100644
--- a/rules/EXPRESSIONS
+++ b/rules/EXPRESSIONS
@@ -27,7 +27,8 @@
, "imports": {"artifacts_list": "field_artifacts_list"}
, "expression":
{ "type": "disjoint_map_union"
- , "msg": "artifacts must not overlap"
+ , "msg":
+ ["artifacts", {"type": "var", "name": "fieldname"}, "must not overlap"]
, "$1": {"type": "CALL_EXPRESSION", "name": "artifacts_list"}
}
}
@@ -60,7 +61,8 @@
, "imports": {"runfiles_list": "field_runfiles_list"}
, "expression":
{ "type": "disjoint_map_union"
- , "msg": "runfiles must not overlap"
+ , "msg":
+ ["runfiles", {"type": "var", "name": "fieldname"}, "must not overlap"]
, "$1": {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
}
}