Commit b69620d
Fix truthiness of
The truthiness of sequence toolchain variables has been flipped for a long time. This became a problem in 1b7dfd8, which normalized `null`/`None` values to empty sequences and thus ended up flipping the truthiness (e.g., when consumed via `expand_if_false`).
Closes #26568.
PiperOrigin-RevId: 785412332
Change-Id: I12e6d668c77d9557bd5d3a07fc55646c799f5816Sequence toolchain variables1 parent e2c5939 commit b69620d
File tree
2 files changed
+8
-1
lines changed- src
- main/java/com/google/devtools/build/lib/rules/cpp
- test/java/com/google/devtools/build/lib/rules/cpp
2 files changed
+8
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
| 620 | + | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| |||
0 commit comments