aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-02-10 11:19:43 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-02-10 15:36:09 +0000
commit3e73d9b88a3bb0afa9edfb014ac45d8612aef005 (patch)
treea612c27891a30570f2a2c4194aa41dedc013dbe8 /src/main
parenta5294e6a48a0c6ff6ef5eec918489f8564b40824 (diff)
Update docs about built-in attributes of rules.
Historically built-in attributes were possible to override, but it's not the case anymore. This feature caused issues. -- PiperOrigin-RevId: 147138115 MOS_MIGRATED_REVID=147138115
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java
index cafebf5c82..0c5707dc61 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleClassFunctions.java
@@ -266,7 +266,7 @@ public class SkylarkRuleClassFunctions {
+ "implicitly added and must not be specified. Attributes "
+ "<code>visibility</code>, <code>deprecation</code>, <code>tags</code>, "
+ "<code>testonly</code>, and <code>features</code> are implicitly added and "
- + "might be overriden."
+ + "cannot be overriden."
),
// TODO(bazel-team): need to give the types of these builtin attributes
@Param(