Yasuhiro Matsumoto wrote:

> :echo 0 && foo#bar()
> 
> Shouldn't eval foo#bar, I think.
> 
> diff -r a42040fed96c src/eval.c
> --- a/src/eval.c      Tue Jan 14 21:31:34 2014 +0100
> +++ b/src/eval.c      Wed Jan 15 12:33:09 2014 +0900
> @@ -5159,7 +5159,7 @@
>           {
>               /* If "s" is the name of a variable of type VAR_FUNC
>                * use its contents. */
> -             s = deref_func_name(s, &len, FALSE);
> +             s = deref_func_name(s, &len, !evaluate);
>  
>               /* Invoke the function. */
>               ret = get_func_tv(s, len, rettv, arg,

That's an existing problem, right?

Perhaps there are other similar situations.

-- 
hundred-and-one symptoms of being an internet addict:
166. You have been on your computer soo long that you didn't realize
     you had grandchildren.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui