https://issues.dlang.org/show_bug.cgi?id=23639
--- Comment #2 from RazvanN <[email protected]> --- Update, the problem is not the casting. Casting is fine. The problem is the fact that the result of the cast is a shared expression that is returned, therefore it needs to be synchronized. --
