[Chapel Merge] Ensure dyno resolves more array functionality

Branch: refs/heads/main
Revision: b30f56906868a75ed7e007f9cd5eae936939ea29
Author: arifthpe
Link: Ensure dyno resolves more array functionality by arifthpe · Pull Request #27032 · chapel-lang/chapel · GitHub
Log Message:
Ensure dyno resolves more array functionality (#27032)

Add tests for multi-dimensional array indexing and several methods on
arrays, and fix resolution of the reindex method.

Tests every documented array
proc

at time of writing except for those that are unstable or for domains
besides default rectangular/associative. So, excluded are:

  • tryCopy
  • IRV
  • hasSingleLocalSubdomain
  • localSubdomain
  • is{Irregular,Sparse}
  • equals
  • :

While here, also tweak the docs for IRV to be on the where clause
version that isn't no-op (it's sparse-only, no-op for non-sparse).

Resolves https://github.com/cray/chapel-private/issues/6107.

[reviewed by @DanilaFe, thanks!]

Testing:

  • dyno tests
  • paratests
  • spectests unaffected

Compare: Comparing cab0e7bcee8ecedf6257d28f39347bc6507a9242...bd3c7e8556fd6ecd71ed6378d86d709b0b1d670e · chapel-lang/chapel · GitHub

Diff:
M frontend/lib/resolution/InitResolver.cpp
M frontend/test/resolution/testArrays.cpp
M modules/internal/ChapelArray.chpl
https://github.com/chapel-lang/chapel/pull/27032.diff