Mercurial > vim
comparison src/version.c @ 30783:42725a9ab62f v9.0.0726
patch 9.0.0726: looping over list of lists works in script, not in function
Commit: https://github.com/vim/vim/commit/159b2d5bfc4edc013024e8c996141d37542ebc15
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 11 21:41:25 2022 +0100
patch 9.0.0726: looping over list of lists works in script, not in function
Problem: Looping over list of lists and changing the list contents works in
Vim9 script, not in a compiled function.
Solution: Mark the loop variable final instead of const. (closes #11347)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Oct 2022 22:45:03 +0200 |
parents | 82fd47d71971 |
children | 02b5d6f20db2 |
comparison
equal
deleted
inserted
replaced
30782:fe19e25c311a | 30783:42725a9ab62f |
---|---|
697 NULL | 697 NULL |
698 }; | 698 }; |
699 | 699 |
700 static int included_patches[] = | 700 static int included_patches[] = |
701 { /* Add new patch number below this line */ | 701 { /* Add new patch number below this line */ |
702 /**/ | |
703 726, | |
702 /**/ | 704 /**/ |
703 725, | 705 725, |
704 /**/ | 706 /**/ |
705 724, | 707 724, |
706 /**/ | 708 /**/ |