https://issues.dlang.org/show_bug.cgi?id=21109 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> --- I've confirmed the issue with ldc2 as well. So it looks like it's a front-end bug. --