digitalmars.D.bugs - array.length bug with stack arrays
- Kris (7/7) May 30 2004 void test()
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