Changes between Initial Version and Version 1 of Ticket #1555
- Timestamp:
- 2011-10-07T02:12:14Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1555 – Description
initial v1 1 1 The attached script checks for errors in which a variable declared in a {{{for}}} loop is captured by a lambda or function definition. If the lambda/function is executed after the loop iteration in which it was created, it will refer to some later value of the variable, which is usually not what was intended. 2 2 3 The script currently produces false positives if a variable is declared and used in the same lambda/function within a for loop (i.e. it is not captured). I don't intend to fix that until after the Tahoe summit in November, probably. However, it produces relatively few false positives already, and found some genuine bugs (see next ticket).3 The script currently produces false positives if a variable is declared and used in the same lambda/function within a for loop (i.e. it is not captured). I don't intend to fix that until after the Tahoe summit in November, probably. However, it produces relatively few false positives already, and found some genuine bugs (see #1556).