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





------- Comment #1 from g...@nwawudu.com  2009-04-03 14:23 -------
Another example.

import std.stdio;

void main()
{
        enum members = ["foo", "bar"];

        writefln(members[0]); // works fine
        writefln(members[1]); // works fine

        for (uint i=0; i<2; i++) {
                writefln(members[i]); // ERROR
        }
}


-- 

Reply via email to