: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,
--
--
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.