On Thursday, 29 December 2016 at 21:29:47 UTC, Stefan Koch wrote:
ldc accepts invalid code there. But it might be that dmd 2.071.2 did that as well.If so It will be fixed as soon as ldc updates the front-end version.
Nope, tried with dmd v2.071.2 and it gives same error as v2.072.1.I think I'll add a bug report to ldc, about not emitting the error.
Thanks for help.