Link: Adjust 'unsafeAssignManager.initialize()' method to halt by dlongnecke-cray · Pull Request #19485 · chapel-lang/chapel · GitHub
Merge pull request #19485 from dlongnecke-cray/unsafe-assign-adjust-initialize
Adjust 'unsafeAssignManager.initialize()' method to halt (#19485)
While reviewing the docs for the new
I saw a TODO I had left to consider making the
method on the manager halt if
checks == true and an already
initialized slot was initialized again. I decided to make that change
in this PR, along with updating the docs for the method.
I think this is the correct thing to do for now because it is more
strict (we can always revert this decision later, but cannot go in
the other direction without breaking changes).
- [x] Updated docs checked locally
Reviewed by @vasslitvinov. Thanks!
Signed-off-by: David Longnecker firstname.lastname@example.org
Modified Files: A test/domains/unsafeAssign/HaltChecksDuplicateInit.chpl