WIP: fix # issue #5141

I put "WIP" because it is my first pull request. I cannot test locally due to #5142, so one has to wait for travis?

	modified:   ../base/abstractarray.jl
	modified:   arrayops.jl