https://issues.dlang.org/show_bug.cgi?id=15333
ag0ae...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |All OS|Mac OS X |All --- Comment #1 from ag0ae...@gmail.com --- Reduced: identifier.d: ---- module identifier; void map(alias fun)() {} struct IdentifierResolver(alias handler) { void resolve() { map!((a) {}); handler(true); } } ---- statement.d: ---- module statement; import identifier; struct StatementVisitor { void visit() { int location; alias IR = IdentifierResolver!((e) {location = 0;}); } } ---- `dmd -c identifier.d statement.d -inline`: ---- dmd: glue.c:1035: void FuncDeclaration_toObjFile(FuncDeclaration*, bool): Assertion `!fd->vthis->csym' failed. Aborted (core dumped) ---- --