Fix that alows local symbols to be used as parameters to non-global template functions reverted

M.M. matus at email.cz
Sun Jan 10 14:24:33 UTC 2021


On Friday, 8 January 2021 at 03:38:20 UTC, Timon Gehr wrote:
> A heads-up for those of you who have started to rely on this 
> fix in DMD:
> https://github.com/dlang/dmd/pull/9702
> https://issues.dlang.org/show_bug.cgi?id=5710
>
> A workaround is to use static template functions with UFCS 
> instead of member template functions. (Without this fix, any 
> member template function with an alias parameter is a code 
> smell.)

Is there any (even long-term) plan to address this again (other 
than the workaround)?


More information about the Digitalmars-d mailing list