www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - multiple this() in a class

The compiler accepts the following code:

class DoubleThis{
this(){}
this(){}
}

This happens even if the body of the 2 functions differ.

Thomas
Jul 31 2004