You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the ref-maybe-const deprecation on foralls into an unstable warning (#23526)
Changes the warning for an implicit ref intent on arrays in foralls into
an unstable warning, which is off by default.
After offline discussion, concerns raised in #23488 and #23229, and
concerns raised by Arkouda developers, we decided to soften our stance
on this change for the release.
## Summary of changes
- add check for unstable flag in
`compiler/resolution/lowerIterators.cpp` where the warning is thrown
- updated warning message to indicate the feature is unstable
- changed the wording in the language evolution document to reflect
these changes
- moved `test/unstable/ref-maybe-const-forall-intent.chpl` to the
`unstable` tests folder
- updated submitted perf tests .good files and perfkeys accordingly
- test/studies/shootout/submitted/binarytrees3.chpl
- test/studies/shootout/submitted/knucleotide3.chpl
- test/studies/shootout/submitted/knucleotide4.chpl
- test/studies/shootout/submitted/revcomp3.chpl
- test/studies/shootout/submitted/revcomp5.chpl
- test/studies/shootout/submitted/revcomp8.chpl
- test/studies/shootout/submitted/spectralnorm.chpl
- test/studies/shootout/submitted/spectralnorm2.chpl
- test/studies/shootout/submitted/mandelbrot.chpl
- test/studies/shootout/submitted/mandelbrot3.chpl
## Testing
- paratest with futures
- paratest with no futures + gasnet
- local testing of all modified tests
- local testing with `-performance` of all modified perf tests
[Reviewed by @mppf]
ref-maybe-const-forall-intent.chpl:31: warning: inferring a 'ref' intent on an array in a forall is unstable - in the future this may require an explicit 'ref' forall intent for 'B'
2
+
ref-maybe-const-forall-intent.chpl:70: warning: inferring a 'ref' intent on an array in a forall is unstable - in the future this may require an explicit 'ref' forall intent for 'A'
3
+
ref-maybe-const-forall-intent.chpl:2: warning: inferring a 'ref' intent on an array in a forall is unstable - in the future this may require an explicit 'ref' forall intent for 'myArray1'
4
+
ref-maybe-const-forall-intent.chpl:31: warning: inferring a 'ref' intent on an array in a forall is unstable - in the future this may require an explicit 'ref' forall intent for 'B'
5
+
ref-maybe-const-forall-intent.chpl:50: warning: inferring a 'ref' intent on an array in a forall is unstable - in the future this may require an explicit 'ref' forall intent for 'myArrayD'
0 commit comments