http://d.puremagic.com/issues/show_bug.cgi?id=10765


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from [email protected] 2013-08-05 21:18:21 PDT ---
(In reply to comment #0)

>     foreach(i, left, right; zip("test", "test"))

A solution, that I think is the right one, is to use enumerate(), from Issue
5550 :

foreach (i, left, right; zip("test", "test").enumerate)

(But note that the unpacking of tuples in foreach is a very experimental
feature, don't rely too much on it.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to