Branch: refs/heads/main
Revision: bbeb73e
Author: bradcray
Link: Unavailable
Log Message:
Merge pull request #19982 from bradcray/remove-anon-assoc-domain-dep
Make array declarations over bracket-less anonymous associative domains an error
[reviewed by @mppf]
Prior to 1.25, it was possible to create an array over an anonymous
associative domain using, say: var A: [1, 3, 5, 7] real;
. We
deprecated this behavior in 1.26, requiring curly brackets, like:
var A: [{1, 3, 5, 7}] real;
. This PR turns that warning into an
error, updates tests to match, and removes the test noting the
deprecation.
Modified Files:
A test/associative/array/anonAssocArr.chpl
A test/associative/array/anonAssocArr.good
A test/associative/array/anonAssocArrNoBrackets.chpl
A test/associative/array/anonAssocArrNoBrackets.good
R test/deprecated/anonAssocDoms.chpl
R test/deprecated/anonAssocDoms.good
M modules/internal/ChapelDomain.chpl
M test/arrays/indexing/arrLitIndexing.bad
M test/arrays/vass/literal-indexing.bad
Compare: https://github.com/chapel-lang/chapel/compare/0bb79fd05ece...bbeb73eddaea