Implicit cast to pointer has already been removed!  I suspect delete is doing the wrong thing here, but it does work with dynamic arrays.