Vim bindevalled scope dictionary has the same problem I reported for
extend(). This patch fixes it, though with it case “masks existing
function” is indistinguishable with “funcref variable must start with
a capital”. I can make them distinguishable with few more lines if
needed (due to the existence of the first case I never assign function
references to g: or l: variables and believe this is a very bad idea,
thus it does not matter whether or not these cases are
distinguishable).

Also note: while lua interface lacks funcref problems (yet?), it
definitely makes it possible to have g:1 variable. I did not fix it
because I do not know what should be done in this case (and am
familiar neither with lua nor with its C API). Thus sending copy of
this message to Luis Carvalho. Do not know whether some other
interfaces have similar problems.

---
All changes I ever make are available at https://bitbucket.org/ZyX_I/vim.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: hg_diff_-r_default.diff
Description: Binary data

Raspunde prin e-mail lui