D-Programming-Language/dmd — pull request #1380 by 9rnsr (2012-12-17 06:41:11+00:00)
Title: Issue 8556 - Using take results in a corrupted call to opSlice

http://d.puremagic.com/issues/show_bug.cgi?id=8556

This is a kind of incorrect gagging bug for forward reference error.
Original code in 8556 has forward reference error in return type deduction for opSlice, but compiler incorrectly gagging the error, then wrong code had generated.

**Note:** This change *correctly* breaks current Phobos build, and [phobos/pull/854](https://github.com/D-Programming-Language/phobos/pull/854) is required to fix that.