https://issues.dlang.org/show_bug.cgi?id=18199
--- Comment #5 from John Belmonte <j...@neggie.net> --- To clarify, the struct initializer test aborts on any semicolon or return token, which can happen in any function literal with curly brackets. I believe these are all the cases which need to additionally be tolerated: function (parameters) { statements... } delegate (parameters) { statements... } (parameters) { statements... } { statements... } --