Commit cbcc5ba
patch 9.1.2012: Vim9: cannot initialize class member with protected var
Problem: Vim9: cannot initialize class member with protected var
Solution: Allow this to work if this happens within the same class
(Foxe Chen)
closes: #18949
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>1 parent 5e577c7 commit cbcc5ba
7 files changed
Lines changed: 35 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1973 | 1973 | | |
1974 | 1974 | | |
1975 | 1975 | | |
| 1976 | + | |
| 1977 | + | |
1976 | 1978 | | |
1977 | 1979 | | |
1978 | 1980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2025 | 2025 | | |
2026 | 2026 | | |
2027 | 2027 | | |
2028 | | - | |
| 2028 | + | |
2029 | 2029 | | |
2030 | 2030 | | |
2031 | 2031 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2282 | 2282 | | |
2283 | 2283 | | |
2284 | 2284 | | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
2285 | 2288 | | |
2286 | 2289 | | |
2287 | 2290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12407 | 12407 | | |
12408 | 12408 | | |
12409 | 12409 | | |
| 12410 | + | |
12410 | 12411 | | |
12411 | 12412 | | |
12412 | 12413 | | |
12413 | 12414 | | |
| 12415 | + | |
| 12416 | + | |
| 12417 | + | |
12414 | 12418 | | |
12415 | 12419 | | |
12416 | 12420 | | |
| |||
12422 | 12426 | | |
12423 | 12427 | | |
12424 | 12428 | | |
| 12429 | + | |
| 12430 | + | |
| 12431 | + | |
| 12432 | + | |
| 12433 | + | |
| 12434 | + | |
| 12435 | + | |
| 12436 | + | |
| 12437 | + | |
| 12438 | + | |
| 12439 | + | |
| 12440 | + | |
| 12441 | + | |
| 12442 | + | |
| 12443 | + | |
| 12444 | + | |
| 12445 | + | |
| 12446 | + | |
12425 | 12447 | | |
12426 | 12448 | | |
12427 | 12449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
| 738 | + | |
737 | 739 | | |
738 | 740 | | |
739 | 741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2122 | 2122 | | |
2123 | 2123 | | |
2124 | 2124 | | |
| 2125 | + | |
| 2126 | + | |
2125 | 2127 | | |
2126 | 2128 | | |
2127 | 2129 | | |
| |||
3243 | 3245 | | |
3244 | 3246 | | |
3245 | 3247 | | |
3246 | | - | |
| 3248 | + | |
| 3249 | + | |
3247 | 3250 | | |
3248 | 3251 | | |
3249 | 3252 | | |
| |||
0 commit comments