Commit acbae18
committed
patch 8.2.2139: Vim9: unreachable code in assignment
Problem: Vim9: unreachable code in assignment.
Solution: Don't check "new_local" when "has_index" is set. Add test for
wrong type of list index.1 parent b5b9480 commit acbae18
3 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
329 | 341 | | |
330 | 342 | | |
331 | 343 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
5856 | 5856 | | |
5857 | 5857 | | |
5858 | 5858 | | |
5859 | | - | |
5860 | | - | |
5861 | 5859 | | |
5862 | 5860 | | |
5863 | 5861 | | |
| |||
5877 | 5875 | | |
5878 | 5876 | | |
5879 | 5877 | | |
5880 | | - | |
5881 | | - | |
5882 | 5878 | | |
5883 | 5879 | | |
5884 | 5880 | | |
| |||
0 commit comments