Simon Lydell
996a171a4e
Fix #3778 : Make for loops more consistent
...
The following two lines might seem equivalent:
for n in [1, 2, 3] by a then a = 4; n
for n in [1, 2, 3] by +a then a = 4; n
But they used not to be, because `+a` was cached into a `ref`, while the plain
`a` wasn’t. Now even simple identifiers are cached, making the two lines
equivalent as expected.
2015-02-03 19:05:07 +01:00
..
2013-06-02 10:57:18 +04:00
2015-01-15 19:44:14 +01:00
2015-01-30 20:33:03 +01:00
2011-04-23 13:35:15 -04:00
2013-11-15 03:44:26 +01:00
2013-03-18 11:46:54 +08:00
2014-09-17 15:02:18 +04:00
2015-01-06 21:32:14 +01:00
2015-02-03 19:05:07 +01:00
2013-12-17 03:31:19 +01:00
2015-01-16 08:43:05 -08:00
2015-01-05 15:40:04 -05:00
2013-04-12 17:50:45 +02:00
2014-01-26 22:11:10 +00:00
2013-04-23 04:28:45 +02:00
2015-01-13 21:26:11 +01:00
2014-11-21 23:14:53 +01:00
2014-08-26 20:41:32 -05:00
2013-06-02 10:57:18 +04:00
2015-01-16 17:19:42 +01:00
2011-01-03 04:17:00 -05:00
2013-05-15 10:30:20 +01:00
2015-01-16 17:19:42 +01:00
2012-03-27 21:31:20 -04:00
2014-01-26 04:41:30 +00:00
2015-01-09 18:12:10 +01:00
2012-01-25 19:47:03 -05:00
2011-06-02 01:49:28 -04:00
2015-01-15 19:44:14 +01:00
2013-03-25 09:49:59 -07:00
2014-05-21 16:40:44 +02:00
2013-04-23 05:42:37 +02:00
2013-04-23 04:28:45 +02:00
2014-08-26 20:41:32 -05:00
2015-01-10 23:25:01 +01:00
2015-01-14 21:27:24 +01:00
2013-03-21 09:04:23 +08:00