Branch: refs/heads/main
Revision: 8c63974fcc299bc108c028887d0d6d3f738714ad
Author: jeremiah-corrado
Link: Fix array localization in `writeBinary(data: [])` by jeremiah-corrado · Pull Request #21959 · chapel-lang/chapel · GitHub
Log Message:
Fix array localization in writeBinary(data: [])
(#21959)
This PR resolves a test failure introduced by
https://github.com/chapel-lang/chapel/pull/21786, where writeBinary
would pass a pointer to a remote array into an external C function. This
call is now only made if the array is local.
[ reviewed by @mppf ] - Thanks!
- paratest
- gasnet paratest
Diff:
M modules/standard/IO.chpl
https://github.com/chapel-lang/chapel/pull/21959.diff