https://issues.dlang.org/show_bug.cgi?id=20722 --- Comment #4 from Mathias LANG <pro.mathias.lang at gmail.com> --- I see what you mean now. Yes indeed, you can do this with null pointer and struct, but it seems like a bug too. Filed as https://issues.dlang.org/show_bug.cgi?id=20725 --