Mercurial > vim
comparison src/version.c @ 26528:4d8226001391 v8.2.3793
patch 8.2.3793: using "g:Func" as a funcref does not work in script context
Commit: https://github.com/vim/vim/commit/ef082e12df2cafe177b2ac9f6922393223ccf83b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 12 21:02:03 2021 +0000
patch 8.2.3793: using "g:Func" as a funcref does not work in script context
Problem: Using "g:Func" as a funcref does not work in script context
because "g:" is dropped.
Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
operator prececence. (closes #9336)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Dec 2021 22:15:03 +0100 |
parents | 33d680d372aa |
children | 2fbd05a873e3 |
comparison
equal
deleted
inserted
replaced
26527:c9231e446fa0 | 26528:4d8226001391 |
---|---|
751 NULL | 751 NULL |
752 }; | 752 }; |
753 | 753 |
754 static int included_patches[] = | 754 static int included_patches[] = |
755 { /* Add new patch number below this line */ | 755 { /* Add new patch number below this line */ |
756 /**/ | |
757 3793, | |
756 /**/ | 758 /**/ |
757 3792, | 759 3792, |
758 /**/ | 760 /**/ |
759 3791, | 761 3791, |
760 /**/ | 762 /**/ |