Commit 2ef951d
committed
patch 8.2.2290: Vim9: unlet of global variable cannot be compiled
Problem: Vim9: unlet of global variable cannot be compiled.
Solution: Skip over variables that might be defined later. Give an error if
a subscript is found. (closes #7585)1 parent e5a2dc8 commit 2ef951d
5 files changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
1343 | 1352 | | |
1344 | 1353 | | |
1345 | 1354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
| 754 | + | |
753 | 755 | | |
754 | 756 | | |
755 | 757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2544 | 2544 | | |
2545 | 2545 | | |
2546 | 2546 | | |
| 2547 | + | |
2547 | 2548 | | |
2548 | 2549 | | |
2549 | 2550 | | |
2550 | 2551 | | |
2551 | 2552 | | |
2552 | 2553 | | |
| 2554 | + | |
2553 | 2555 | | |
2554 | 2556 | | |
2555 | 2557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6130 | 6130 | | |
6131 | 6131 | | |
6132 | 6132 | | |
| 6133 | + | |
| 6134 | + | |
| 6135 | + | |
| 6136 | + | |
| 6137 | + | |
| 6138 | + | |
6133 | 6139 | | |
6134 | 6140 | | |
6135 | 6141 | | |
| |||
6141 | 6147 | | |
6142 | 6148 | | |
6143 | 6149 | | |
| 6150 | + | |
6144 | 6151 | | |
6145 | 6152 | | |
| 6153 | + | |
| 6154 | + | |
6146 | 6155 | | |
6147 | 6156 | | |
6148 | 6157 | | |
| |||
6163 | 6172 | | |
6164 | 6173 | | |
6165 | 6174 | | |
6166 | | - | |
| 6175 | + | |
| 6176 | + | |
6167 | 6177 | | |
6168 | 6178 | | |
6169 | 6179 | | |
| |||
0 commit comments