https://issues.dlang.org/show_bug.cgi?id=15660
--- Comment #5 from Iakh <[email protected]> --- (In reply to Steven Schveighoffer from comment #4) > In this case, you are using a cast. The compiler pretty much gives up trying > to ensure anything when you cast, so I think it's OK to allow that. > > Although, I thought such a cast wouldn't work in @safe code. Me too. Casting of array types does in reinterpret_cast manner. So it's a bug in @safe definition. --
