Comment #0 by ashleymedlock — 2006-07-08T21:20:08Z
Class members are apparently not initialized in DMD 0.162
// code sample
import std.stdio;
class Foo
{
float[4] array = 1.0;
int count = 10;
}
void main( char[][] args )
{
Foo f = new Foo();
writefln("Foo count = %s", f.count );
}
// this prints 0(zero) on my machine