On Friday, 18 October 2013 at 23:03:42 UTC, ProgrammingGhost wrote:

Whats 'wrong' with this code?

Nothing, that's the point. Just like with __traits(getOverloads, this, "__ctor")[0](i).

In my world, safety features of a language are meant to help a fairly reasonable programmer avoid accidental mistakes. Misusing reflection or C interface is not an accidental mistake.

Reply via email to