D - small bug
- Vathix (9/9) Jan 30 2004 I accidentally wrote a parameter list as if I was declaring variables
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