diff options
author | laurentlb <laurentlb@google.com> | 2017-09-07 19:17:52 +0200 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-09-08 09:47:24 +0200 |
commit | ee250c6e9e7e24761ff26d3ee225ad485a7facf3 (patch) | |
tree | d4a674353c50b9a708c3e63f4e49c91e28603286 /site | |
parent | fb829994988798e3d6663d66497f4614148ea79a (diff) |
--incompatible_comprehension_variables_do_not_leak defaults to true
RELNOTES[INC]:
--incompatible_comprehension_variables_do_not_leak defaults to "true."
Iteration variable becomes inaccessible after a list/dict comprehension.
PiperOrigin-RevId: 167876119
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/skylark/backward-compatibility.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/skylark/backward-compatibility.md b/site/docs/skylark/backward-compatibility.md index f40fbde841..0316a4e5a0 100644 --- a/site/docs/skylark/backward-compatibility.md +++ b/site/docs/skylark/backward-compatibility.md @@ -149,7 +149,7 @@ In other words, please do not refer to a loop variable outside the list or dict comprehension. * Flag: `--incompatible_comprehension_variables_do_not_leak` -* Default: `false` +* Default: `true` ## Depset is no longer iterable |