Branch: refs/heads/main
Revision: eb961e3
Author: lydia-duncan
Link: Deprecate the version of openwriter that takes start and/or end arguments by lydia-duncan · Pull Request #20574 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20574 from lydia-duncan/openwriterArgs
Deprecate the version of openwriter that takes start and/or end arguments
[reviewed by @benharsh and @jeremiah-corrado]
Specifying a value for these other than their defaults ran into some errors,
see #20449 and #20450. Since this function is a convenience for opening
a file and then calling .writer on it, we decided it was okay to not supply
these arguments.
Resolves Cray/chapel-private#3754
Adds a test locking in the deprecation message for each argument
individually and both arguments together.
Adjusts the futures tracking the bug with openwriter to include the
deprecation message. I could also take the tactic of removing the tests,
but I decided to update them for now
Passed a full paratest with futures
Modified Files:
A test/deprecated/IO/openwriterStartEnd.chpl
A test/deprecated/IO/openwriterStartEnd.cleanfiles
A test/deprecated/IO/openwriterStartEnd.good
M modules/standard/IO.chpl
M test/deprecated/IO/.gitignore
M test/library/standard/IO/openwriterEndBug.bad
M test/library/standard/IO/openwriterStartBug.bad
Compare: https://github.com/chapel-lang/chapel/compare/a4bdaed12716...eb961e346c75