https://issues.dlang.org/show_bug.cgi?id=17773
Nick Treleaven <n...@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n...@geany.org --- Comment #1 from Nick Treleaven <n...@geany.org> --- Reduced with commented edit: class Base { size_t classSize(this This)() { pragma(msg, This); return This.sizeof; } } class Derived : Base { void foo() { classSize(); // added () } } Error: template `templatethisparam.Base.classSize` cannot deduce function from argument types `!()()`, candidates are: `templatethisparam.Base.classSize(this This)()` --