digitalmars.D - Fix that alows local symbols to be used as parameters to non-global
- Timon Gehr (6/6) Jan 07 2021 A heads-up for those of you who have started to rely on this fix in DMD:
- M.M. (3/11) Jan 10 2021 Is there any (even long-term) plan to address this again (other
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.)
Jan 07 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)?
Jan 10 2021