const T arr[] gets converted to the imcompatible type const(T) *arr. This at best segfaults and at worst produces garbage data.
The discussion in #85 towards the end suggests that this is hard to fix, but in my opinion there should be at least a warning.