Fix for unclear array.resize() error message
Merge pull request #4705 from barentsen/patch-1

Fix for unclear resize() error message