https://issues.dlang.org/show_bug.cgi?id=17036
--- Comment #2 from Daniel Kozak <kozz...@gmail.com> --- yeah I am aware of all of this, but in all other cases(context) it is legal to do this cast. It is even legal by language specification if I remember it correctly. I would fix it by myself but thera are many ways to fix this and i am not sure which way is the best, so I hope someone with more skill try to fix it or propose some solution or direction --