Commit 1dd8dca
authored
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]File tree
22 files changed
+37
-59
lines changed- compiler/resolution
- doc/rst/language
- test
- deprecated
- studies/shootout/submitted
- unstable
22 files changed
+37
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3083 | 3083 | | |
3084 | 3084 | | |
3085 | 3085 | | |
| 3086 | + | |
3086 | 3087 | | |
3087 | | - | |
3088 | | - | |
| 3088 | + | |
| 3089 | + | |
3089 | 3090 | | |
3090 | 3091 | | |
3091 | 3092 | | |
| |||
3094 | 3095 | | |
3095 | 3096 | | |
3096 | 3097 | | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
3097 | 3101 | | |
3098 | 3102 | | |
3099 | 3103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
81 | | - | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
102 | | - | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
Binary file not shown.
0 commit comments