Commit 93ad589
Fix resolving aspect attribute with same name as underlying target attribute
Check `ConfiguredAttributeMapper` only for non-aspect explicit attributes to avoid selecting a rule attribute with same name but different type
Fixes: #18901
PiperOrigin-RevId: 548714977
Change-Id: Iaa9148cf21ce28d9414840e7cd874ffaaf9d7bb41 parent cc335fd commit 93ad589
File tree
2 files changed
+34
-1
lines changed- src
- main/java/com/google/devtools/build/lib/analysis
- test/java/com/google/devtools/build/lib/starlark
2 files changed
+34
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8606 | 8606 | | |
8607 | 8607 | | |
8608 | 8608 | | |
| 8609 | + | |
| 8610 | + | |
| 8611 | + | |
| 8612 | + | |
| 8613 | + | |
| 8614 | + | |
| 8615 | + | |
| 8616 | + | |
| 8617 | + | |
| 8618 | + | |
| 8619 | + | |
| 8620 | + | |
| 8621 | + | |
| 8622 | + | |
| 8623 | + | |
| 8624 | + | |
| 8625 | + | |
| 8626 | + | |
| 8627 | + | |
| 8628 | + | |
| 8629 | + | |
| 8630 | + | |
| 8631 | + | |
| 8632 | + | |
| 8633 | + | |
| 8634 | + | |
| 8635 | + | |
| 8636 | + | |
| 8637 | + | |
| 8638 | + | |
| 8639 | + | |
| 8640 | + | |
| 8641 | + | |
8609 | 8642 | | |
8610 | 8643 | | |
8611 | 8644 | | |
| |||
0 commit comments