commit | 0cb5bcf5836de83f7d64fb01d3ce708caacaf66c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 20 18:19:09 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 20 18:19:09 2020 +0200 |
tree | e8cb22c78547909952536f9d024e95d8fdcc3369 | |
parent | 845e0ee59430eac07e74b6cb92020e420d17953d [diff] [blame] |
patch 8.2.1023: Vim9: redefining a function uses a new index every time Problem: Vim9: redefining a function uses a new index every time. Solution: When redefining a function clear the contents and re-use the index.
diff --git a/src/version.c b/src/version.c index 870205a..ab618af 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1023, +/**/ 1022, /**/ 1021,