[Chapel Merge] File future against array literal indexing

Branch: refs/heads/master
Revision: a50cf3e
Author: bradcray
Log Message:

Merge pull request #16882 from bradcray/arr-literal-indexing-bug

File future against array literal indexing

[trivial, not reviewed]

It seems as though we treat indexing of an array literal as though it was an index-less forall loop expression? This seems wrong, or at least subtle enough that I don’t see a valid interpretation of the current behavior.

Modified Files:
A test/arrays/indexing/arrLitIndexing.bad
A test/arrays/indexing/arrLitIndexing.chpl
A test/arrays/indexing/arrLitIndexing.future
A test/arrays/indexing/arrLitIndexing.good

Compare: https://github.com/chapel-lang/chapel/compare/5f5ceef815b4...a50cf3ea7b83