hidden passing of __FILE__ and __LINE__ into function

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 18 03:13:09 PDT 2017


On Monday, April 17, 2017 07:23:50 Jonathan M Davis via Digitalmars-d-learn 
wrote:
> So, if you're okay with explicitly instantiating your variadic function
> template instead of having the types inferred, then it can work, but
> otherwise, no. Making it work would require a language enhancement

Actually, not only is there already a bug report for this

https://issues.dlang.org/show_bug.cgi?id=8687

which is marked as a bug and not an enhancement, and when Walter commented
on it when an ICE related to it was fixed, he didn't change it from a bug to
an enhancement. So, it looks like he agrees that it's a bug rather than
considering it an enhancement. It has yet to be fixed regardless though.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list