Yasuhiro Matsumoto wrote:

> ------=_Part_9179_1228888767.1458138804381
> Content-Type: text/plain; charset=UTF-8
> 
> On Wednesday, March 16, 2016 at 11:23:06 PM UTC+9, Raymond Ko wrote:
> > On Tuesday, March 15, 2016 at 6:10:34 PM UTC-4, Kent Sibilev wrote:
> > > On Tuesday, March 15, 2016 at 2:33:55 PM UTC-4, Bram Moolenaar wrote:
> > > > Patch 7.4.1577
> > > > Problem:    Cannot pass "dict.Myfunc" around as a partial.
> > > > Solution:   Create a partial when expected.
> > > > Files:      src/eval.c, src/testdir/test_partial.vim
> > > > 
> > > 
> > > This change doesn't allow functions like this:
> > > 
> > > function! s:cache_clear(...) dict
> > > 
> > > function! rails#cache_clear(...)
> > > 
> > > to be defined at the same time. Any particular reason for this, cause 
> > > this change breaks vim-rails plugin.
> > > 
> > > Thanks,
> > > Kent Sibilev
> > 
> > I think this patch is the cause for breaking plugins like incsearch.vim and 
> > vim-easymotion. If I revert back to 7.4.1576, then it works again.
> 
> If possible, please try this patch.
> 
> https://gist.github.com/mattn/394e8a95be26d9c7bce9

Thanks!

I think there is still a remaining problem when the dictionary function
is a partial with bound arguments and ":call mydict.func()" is used.
Should use "mydict" and the arguments.

-- 
hundred-and-one symptoms of being an internet addict:
56. You leave the modem speaker on after connecting because you think it
    sounds like the ocean wind...the perfect soundtrack for "surfing the net".

 /// 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/d/optout.

Raspunde prin e-mail lui