commit | 45ce5459f3a8f0a32ec71c13c22500ba87aaa8c2 | [log] [tgz] |
---|---|---|
author | brandjon <brandjon@google.com> | Wed Feb 02 11:52:06 2022 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 02 11:53:30 2022 -0800 |
tree | 9b2bb04034a84ff0a91d8a8a44812b32927b5f4f | |
parent | 2fd886ba05637be6ffd89a9944324ca0a1138a13 [diff] [blame] |
Rollback https://github.com/bazelbuild/bazel/commit/8174262bf946e31df86476014c6f231f46ca0882 PiperOrigin-RevId: 425940910
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java index 45f88e0..b0d823a 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
@@ -209,9 +209,7 @@ this.ruleClassProvider = builder.ruleClassProvider; this.targetMap = targetMap; this.configConditions = builder.configConditions.asProviders(); - this.attributes = - new AspectAwareAttributeMapper( - rule, (ConfiguredAttributeMapper) attributes, builder.aspectAttributes); + this.attributes = new AspectAwareAttributeMapper(attributes, builder.aspectAttributes); Set<String> allEnabledFeatures = new HashSet<>(); Set<String> allDisabledFeatures = new HashSet<>(); getAllFeatures(allEnabledFeatures, allDisabledFeatures);