This project is read-only.
1
Vote

Explicit constructor declarations in a struct with primary constructor must chain directly or indirectly to that primary constructor

description

struct C(int x)
{
    C(string s) : this(true) { }
    C(bool s) : this("") { }
}
ACTUAL: No errors.
EXPECTED: A compile-time error, because explicit constructor declarations in a struct with primary constructor must chain directly or indirectly to that primary constructor.

comments