aboutsummaryrefslogtreecommitdiff
path: root/changes/smartlist_foreach
diff options
context:
space:
mode:
Diffstat (limited to 'changes/smartlist_foreach')
-rw-r--r--changes/smartlist_foreach10
1 files changed, 6 insertions, 4 deletions
diff --git a/changes/smartlist_foreach b/changes/smartlist_foreach
index 0a6c96042..2fd3a1a85 100644
--- a/changes/smartlist_foreach
+++ b/changes/smartlist_foreach
@@ -1,6 +1,8 @@
o Code simplification and refactoring:
- - Do not allow the body of any SMARTLIST_FOREACH block to exceed
- 10 lines. Doing so in the past has led to hard-to-debug code.
+ - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
+ 10 lines. Doing so in the past has led to hard-to-debug code.
The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
- - Do not allow SMARTLIST_FOREACH blocks to nest. Any nested block
- ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
+ Issue 6400.
+ - Do not nest SMARTLIST_FOREACH blocks within one another. Any
+ nested block ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
+ Issue 6400.