summaryrefslogtreecommitdiff
path: root/EXPRESSIONS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-14 15:43:29 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-14 15:43:47 +0100
commit558188294b11a7ad70acedf48cab638696b0011d (patch)
treefc881f8efe2408faf372b8d44ebd9acbca3ea618 /EXPRESSIONS
parent7a748aebb0c2e158f60da43b151ab889d709467d (diff)
downloadrules-cc-558188294b11a7ad70acedf48cab638696b0011d.tar.gz
rules: Report fieldname of overlapping artifacts/runfiles
Diffstat (limited to 'EXPRESSIONS')
-rw-r--r--EXPRESSIONS6
1 files changed, 4 insertions, 2 deletions
diff --git a/EXPRESSIONS b/EXPRESSIONS
index f40e5a3..b974026 100644
--- a/EXPRESSIONS
+++ b/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"}
}
}