D-Programming-Language/druntime — pull request #306 by monarchdodra (2012-09-17 10:12:47+00:00)
Title: Slice nothrow

I'm not 100% in my comfort zone here, so if this is not a good fix, please close the request.

This is a fix for issue 8651 #8651, as well as issue 6311 #6311.

Basically, array operations can't be used in safe/nothrow code.
Solution: Mark them as safe (or trusted), and nothrow.

Some minor "throw new exception(text)" has been changed to "assert(0, text)", int arraycat.d and arraycast.d.

EDIT: Can't squash from where I am right now, will do it in about 8 hours
EDIT2: I also need to reword the commit text, which used "6651" instead of "8651". Will also do it in 8h