[Chapel Merge] Add 'ref' intent to copy aggregator flush methods

Branch: refs/heads/main
Revision: 647fa43a75e50b7e0ee67dc0b02f78d4ed59e327
Author: mppf
Link: Add 'ref' intent to copy aggregator flush methods by mppf · Pull Request #26612 · chapel-lang/chapel · GitHub
Log Message:
Add 'ref' intent to copy aggregator flush methods (#26612)

This PR adds 'ref' intent to the aggregator flush methods to avoid a
warning about it being deprecated to infer it. Additionally, it adds a
basic test of DstAggregator and SrcAggregator (including using flush)
because there weren't any such tests.

Reviewed by @e-kayrakli - thanks!

  • full comm=none testing
  • full gasnet testing

Compare: Comparing 5a41e6f2275eb8e1386703679fb4b554b63b4a07...a0bf1696e44a63f837144b9d0a478eec27d76db8 · chapel-lang/chapel · GitHub

Diff:
M modules/packages/CopyAggregation.chpl
A test/library/packages/CopyAggregation/test-copy-agg.chpl
A test/library/packages/CopyAggregation/test-copy-agg.good
https://github.com/chapel-lang/chapel/pull/26612.diff