void foo(alias f)() { void bar() { f(); } bar(); } void main() { void f()() { } foo!f(); } dmd: toir.c:249: elem* getEthis(Loc, IRState*, Dsymbol*): Assertion `thisfd->isNested() || thisfd->vthis' failed.
This seems to be fixed and now issues Error: function onlineapp.foo!(f).foo.bar cannot get frame pointer to onlineapp.main.f!().f