fix Issue 10716 - Horrifically slow compilation for array literals inside functions
Merge pull request #2388 from WalterBright/fix10716

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