[Chapel Merge] Fix bulk transfer tests

Branch: refs/heads/main
Revision: aa38ee0
Author: daviditen
Link: Fix bulk transfer tests by daviditen · Pull Request #20413 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20413 from daviditen/fix-bulk-transfer-tests

Fix bulk transfer tests

[reviewed by @benharsh thanks!]

Initialize a private array constant with a tuple instead of array

Now that DateTime is combined into Time a test that does 'use Time'
and tracking bulk transfers is seeing an extra array transfer. This is from
initializing a private const array from DateTime with an array literal.
Replace the literal with a tuple literal instead to avoid the extra transfer
message.

Signed-off-by: David Iten daviditen@users.noreply.github.comInitialize a private array constant with a tuple instead of array

Modified Files:
M modules/standard/Time.chpl

M test/optimizations/sungeun/bulk_transfer/assign.good

Compare: https://github.com/chapel-lang/chapel/compare/b6242a7d263a...aa38ee09b19a