[chapel-lang/chapel] Update a future that uses pragma init-copy-fn

Branch: refs/heads/master
Revision: 29724b0
Author: e-kayrakli
Log Message:

Merge pull request #16283 from e-kayrakli/const-domain-future-fix

Update a future that uses pragma init-copy-fn

https://github.com/chapel-lang/chapel/pull/16218 changed some compiler
assertions to check any proc that has pragma "init copy fn" to have at least
two arguments instead of one. There’s one future that test this pragma with
error handling. This PR updates that future by adding an argument to the proc.

bad file matches cleanly with this PR.

[Trivial, not reviewed]

Modified Files:
M test/errhandling/iterators/abort-loop-vs-init-pragma.bad
M test/errhandling/iterators/abort-loop-vs-init-pragma.chpl

Compare: https://github.com/chapel-lang/chapel/compare/a7b5c0f13178...29724b007bf5