Branch: refs/heads/master
Revision: 40b2abf
Author: bradcray
Log Message:
Merge pull request #16384 from bradcray/sparse-oob-error
File future against OOB sparse domain assignments
[trivial, not reviewed]
The current sparse domain assignment code seems to assume that all
indices in the RHS domain will be in the LHS domain’s parent domain,
but of course this isn’t necessarily the case as this test
demonstrates. Such cases should generate OOB errors at the time
of domain assignment.
Modified Files:
A test/sparse/domains/sparseDomAssignOOB.bad
A test/sparse/domains/sparseDomAssignOOB.chpl
A test/sparse/domains/sparseDomAssignOOB.future
A test/sparse/domains/sparseDomAssignOOB.good
Compare: https://github.com/chapel-lang/chapel/compare/3a6513bdacad...40b2abfa88bb