fix Issue 10716 - Horrifically slow compilation for array literals insid...

...e functions

Fix http://d.puremagic.com/issues/show_bug.cgi?id=10716