Commit 3fe67c2
committed
todo tests for GH 16364 (array element lazily created at wrong index)
This commit adds some todo tests for GH 16364 that test the following
behavior:
* An array element that was previously uninitialized is created at the
correct index when assigned from a subroutine's @_ alias which
modifies the element's original array. The element is within the
array.
* The same as the above but the element is outside of the array's
range.
* An array element that was previously uninitialized is created at the
correct index when assigned from a foreach loop's $_ alias which
modifies the element's original array.1 parent 180c7bb commit 3fe67c2
1 file changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
140 | 172 | | |
141 | 173 | | |
142 | 174 | | |
| |||
0 commit comments