fix for calling .array() on ranges in CTFE
Merge pull request #1305 from dymk/ctfe-array

fix for calling .array() on ranges in CTFE