[Chapel Merge] Remove an unneeded assignment from array view slic

Branch: refs/heads/master
Revision: 1b513e2
Author: e-kayrakli
Log Message:

Merge pull request #16477 from e-kayrakli/const-domain-arrview-cc-fix

Remove an unneeded assignment from array view slice initializer

This PR removes an assignment added in #16397.

I probably added it while testing alternatives and it was left there. This
caused some communication count increases:

Also adds a new case to an existing test.

[Reviewed by @ronawho]


  • [x] gasnet test/release/examples
  • [x] gasnet test/optimizations/constDomain

Modified Files:
M modules/internal/ArrayViewSlice.chpl
M test/optimizations/constDomain/arrView.chpl
M test/optimizations/constDomain/arrView.good

Compare: https://github.com/chapel-lang/chapel/compare/3c219d9005ad...1b513e2cda84