mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1836
Problem: When using a partial on a dictionary it always gets bound to that dictionary. Solution: Make a difference between binding a function to a dictionary explicitly or automatically.
This commit is contained in:
@@ -1261,6 +1261,8 @@ struct partial_S
|
||||
{
|
||||
int pt_refcount; /* reference count */
|
||||
char_u *pt_name; /* function name */
|
||||
int pt_auto; /* when TRUE the partial was created for using
|
||||
dict.member in handle_subscript() */
|
||||
int pt_argc; /* number of arguments */
|
||||
typval_T *pt_argv; /* arguments in allocated array */
|
||||
dict_T *pt_dict; /* dict for "self" */
|
||||
|
Reference in New Issue
Block a user