mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0201: cannot assign to an imported variable
Problem: Cannot assign to an imported variable. Solution: Make it work.
This commit is contained in:
@@ -678,7 +678,7 @@ find_func_even_dead(char_u *name, cctx_T *cctx)
|
||||
return func;
|
||||
|
||||
// Find imported funcion before global one.
|
||||
imported = find_imported(name, cctx);
|
||||
imported = find_imported(name, 0, cctx);
|
||||
if (imported != NULL && imported->imp_funcname != NULL)
|
||||
{
|
||||
hi = hash_find(&func_hashtab, imported->imp_funcname);
|
||||
|
Reference in New Issue
Block a user