January 08, 2021 Fix that alows local symbols to be used as parameters to non-global template functions reverted | ||||
---|---|---|---|---|
| ||||
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.) |
January 10, 2021 Re: Fix that alows local symbols to be used as parameters to non-global template functions reverted | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | 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)?
|
Copyright © 1999-2021 by the D Language Foundation