Commit a650485
patch 9.1.1917: Vim9: incorrect type inference with mkdir()
Problem: Vim9: incorrect type inference with mkdir()
(dezza)
Solution: Before compiling a RHS expression in an assignment, save the
new local variable contents (Yegappan Lakshmanan)
fixes: #18751
closes: #18751
Signed-off-by: Yegappan Lakshmanan <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>1 parent 61b73b8 commit a650485
3 files changed
+33
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4771 | 4771 | | |
4772 | 4772 | | |
4773 | 4773 | | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
| 4785 | + | |
| 4786 | + | |
| 4787 | + | |
4774 | 4788 | | |
4775 | 4789 | | |
4776 | 4790 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
| 733 | + | |
732 | 734 | | |
733 | 735 | | |
734 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3170 | 3170 | | |
3171 | 3171 | | |
3172 | 3172 | | |
| 3173 | + | |
| 3174 | + | |
3173 | 3175 | | |
3174 | 3176 | | |
3175 | 3177 | | |
| |||
3178 | 3180 | | |
3179 | 3181 | | |
3180 | 3182 | | |
| 3183 | + | |
3181 | 3184 | | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
3182 | 3191 | | |
3183 | 3192 | | |
3184 | 3193 | | |
| |||
3190 | 3199 | | |
3191 | 3200 | | |
3192 | 3201 | | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
3193 | 3209 | | |
| 3210 | + | |
3194 | 3211 | | |
3195 | 3212 | | |
3196 | 3213 | | |
| |||
0 commit comments