Incorrect ParameterIdentifierTuple results?

Neia Neutuladh neia at ikeran.org
Fri Nov 30 19:07:14 UTC 2018


On Fri, 30 Nov 2018 18:18:36 +0000, John Chapman wrote:
> ParameterIdentifierTuple!(__traits(getMember, SomeType, "wrong"));
> // tuple("SomeType")
> ParameterIdentifierTuple!(__traits(getMember, SomeType, "right"));
> // tuple("")

Compiler and version would be helpful here.

I'm on DMD 2.081.1 and it yields the same results in each case: _param_0


More information about the Digitalmars-d mailing list