Incorrect ParameterIdentifierTuple results?
John Chapman
johnch_atms at hotmail.com
Fri Nov 30 22:44:08 UTC 2018
On Friday, 30 November 2018 at 19:37:52 UTC, John Chapman wrote:
> On Friday, 30 November 2018 at 19:07:14 UTC, Neia Neutuladh
> wrote:
>> 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
>
> Hmm, I was calling ParameterIdentifierTuple inside a lambda -
> once I moved it into my main function I got the same output as
> you.
>
> But … change SomeType to an interface and it reproduces the
> issue I reported above.
>
> interface SomeType {
> void wrong(SomeType);
> void right(int);
> }
>
> I'm on DMD 2.083.0.
On Friday, 30 November 2018 at 19:37:52 UTC, John Chapman wrote:
This is pretty broken so I've opened a bug:
https://issues.dlang.org/show_bug.cgi?id=19456
More information about the Digitalmars-d
mailing list