diff options
author | 2015-10-14 12:01:52 +0000 | |
---|---|---|
committer | 2015-10-14 18:29:46 +0000 | |
commit | 46438367d7400d6c27bda0dd1ea1c30f51957eea (patch) | |
tree | 88358bcf7371a42dd25c40134651dd24c0d096de /src/main/java/com/google/devtools/build/lib/skyframe/TargetPatternPhaseValue.java | |
parent | d6fce4428db80f8e5d369581baea415e202cfe62 (diff) |
Make a copy of the list when passing the value from Skylark to BUILD.
This change affects only lists, because it is the only mutable type.
The change is also temporary. We will later make the list immutable (when
it comes from a different context) and we will be able to remove the copy.
This fixes a critical bug where values could be mutated from a BUILD file
and affect other BUILD files.
--
MOS_MIGRATED_REVID=105400506
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/TargetPatternPhaseValue.java')
0 files changed, 0 insertions, 0 deletions