Branch: refs/heads/main
Revision: 1482db6
Author: bradcray
Link: Update ranges/domains to remove deprecated behaviors w.r.t. low/high queries, sizeReturnsInt by bradcray · Pull Request #20596 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20596 from bradcray/range-remove-deprecations
Update ranges/domains to remove deprecated behaviors w.r.t. low/high queries, sizeReturnsInt
[reviewed by @benharsh — thanks!]
This makes a few changes to ranges and domains to remove deprecated
behaviors and move us closer to 2.0 behavior:
- it removes the deprecated sizeReturnsInt config param
- it makes range low / high bounds return aligned bounds by default
- deprecating the 'alignedBoundsByDefault' config param since it's no longer used
- updating documentation to reflect the new behavior
Note that this preserves the alignedLow/alignedBounds queries on ranges
for now. I'd imagined we would deprecate these now that they're
duplicates, but at least one user was potentially interested in
keeping them in order to have a more descriptive way of saying what
you wanted. I'm not sure I agree with this, but it deserves more
discussion than we've given it, so I've opened #20606 for that
topic.
Modified Files:
A test/deprecated/alignedBoundsByDefault.chpl
A test/deprecated/alignedBoundsByDefault.compopts
A test/deprecated/alignedBoundsByDefault.good
R test/deprecated/sizeReturnsInt.chpl
R test/deprecated/sizeReturnsInt.compopts
R test/deprecated/sizeReturnsInt.good
R test/types/range/userAPI/COMPOPTS
M modules/dists/PrivateDist.chpl
M modules/internal/ChapelDomain.chpl
M modules/internal/ChapelRange.chpl
M test/release/examples/benchmarks/hpcc/fft.compopts
M test/studies/hpcc/FFT/fft-testPow4.compopts
M test/types/range/enum/enumRangeStrided.compopts
Compare: https://github.com/chapel-lang/chapel/compare/43094d66ab5b...1482db642bc9