summaryrefslogtreecommitdiff
path: root/changes/smartlist_foreach
diff options
context:
space:
mode:
Diffstat (limited to 'changes/smartlist_foreach')
-rw-r--r--changes/smartlist_foreach4
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/smartlist_foreach b/changes/smartlist_foreach
new file mode 100644
index 0000000000..d1e3505468
--- /dev/null
+++ b/changes/smartlist_foreach
@@ -0,0 +1,4 @@
+ 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.
+ The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.