https://issues.dlang.org/show_bug.cgi?id=24238
Dennis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Dennis <[email protected]> --- * Accidentally submitted to early * See: https://forum.dlang.org/thread/[email protected] ``` void templateFunc(T)() {} void addr() { auto x0 = &templateFunc; } ``` The error says "is not an lvalue and cannot be modified", but it should say instead that it's a template, and you cannot take the address of it before instantiating it. --
