www.digitalmars.com         C & C++   DMDScript  

D - small bug

I accidentally wrote a parameter list as if I was declaring variables 
char a, b; and found this:

class Foo
{
    char bar;
    this(bar) { this.bar = bar; }
}

causes the compiler to crash, but seems only to happen if the parameter 
name and member variable names are the same.
Jan 30 2004