D-Programming-Language/dmd — pull request #1705 by 9rnsr (2013-03-01 10:11:30+00:00)
Title: partial fix Issue 3652 - Allow explicit and implicit casting of dynamic array slices of known size to static array 

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

If and only if both side of slice boundaries can be constant-folded, the conversion will succeed.

Limitation:
- Does not run CTFE.
- There is no deformation of formula.