scala/scala — pull request #1584 by retronym (2012-11-06 18:12:42+00:00)
Title: Fixes an oversight in recent array optimization.

In 8265175, I forgot to set the type of the new ArrayValue
tree, and we accidentally merged without approval on the extra
commit by our feline build overlords.

This is an alternative to #1582, which fixes the problem rather than
reverting the optimization.

Review by @lryzt