https://issues.dlang.org/show_bug.cgi?id=15332
--- Comment #1 from Simon Na. <[email protected]> --- Speculation: 'function' doesn't allow to refer to information outside of the literal's body (here, the 'this' pointer), unlike 'delegate'. Removing the keyword makes my literal a delegate, which becomes legal D. dmd doesn't notice the illegal referral to outside information at first, but eventually ends up with 'this' being a null pointer, failing the assert in e2ir.c. --
