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


Trass3r <mrmoc...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #4 from Trass3r <mrmoc...@gmx.de> 2011-08-23 04:51:30 PDT ---
Still fails for arrays.

struct Foo
{
    int[] data;
    alias data this;
}

void main() {
    Foo foo;
    foreach(elem; foo) {}  // Error:  Cannot infer type for elem.
}

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

Reply via email to