https://issues.dlang.org/show_bug.cgi?id=21195
kinke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from kinke <[email protected]> --- This isn't restricted to the context of static functions, this is also accepted: struct S { void func() { import std.stdio; printf("func(this=%p)\n", &this); } } void main() { void function() f = &S.func; f(); } --
