www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - array.length bug with stack arrays

void test()
{
             char[0] scratch;
             scratch.length = 4096;
}

generates a bogus compiler error "'0' is not an lvalue", usually reported as
being in some other module. Remove the assignment and it's fine.
May 30 2004