fix Issue 2356 - array literal as non static initializer generates horribly inefficient code.