Patch 7.4.1582

2016-03-19 Thread Bram Moolenaar
Patch 7.4.1582 Problem:Get E923 when using function(dict.func, [], dict). (Kent Sibilev) Storing a function with a dict in a variable drops the dict if the function is script-local. Solution: Translate the function name. Use dict arg if present. Files: src

Re: Patch 7.4.1582

2016-03-18 Thread Kent Sibilev
On Thursday, March 17, 2016 at 6:22:25 PM UTC-4, Bram Moolenaar wrote: > Kent Sibilev wrote: > > > > > On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar wrote: > > > > > Patch 7.4.1582 > > > > > Problem:Get E923 when using functio

Re: Patch 7.4.1582

2016-03-18 Thread Bram Moolenaar
Kent Sibilev wrote: > > > On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar wrote: > > > > Patch 7.4.1582 > > > > Problem:Get E923 when using function(dict.func, [], dict). (Kent > > > > Sibilev) > > > > St

Re: Patch 7.4.1582

2016-03-19 Thread Kent Sibilev
On Thursday, March 17, 2016 at 6:26:05 PM UTC-4, Kent Sibilev wrote: > > When I execute MyFunc command, it works: > > :MyFunc /tmp > /tmp > > When I execute MyFuncBug command, it produces an error: > > :MyFuncBug /tmp > E116: Invalid arguments for function 164_MyFunc It looks like path 1589 h

Re: Patch 7.4.1582

2016-03-19 Thread Kent Sibilev
On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar wrote: > Patch 7.4.1582 > Problem:Get E923 when using function(dict.func, [], dict). (Kent Sibilev) > Storing a function with a dict in a variable drops the dict if the > function is

Re: Patch 7.4.1582

2016-03-19 Thread Bram Moolenaar
Kent Sibilev wrote: > On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar wrote: > > Patch 7.4.1582 > > Problem:Get E923 when using function(dict.func, [], dict). (Kent > > Sibilev) > > Storing a function with a dict in a variable

Re: Patch 7.4.1582

2016-03-20 Thread Kent Sibilev
On Thursday, March 17, 2016 at 5:07:25 PM UTC-4, Bram Moolenaar wrote: > Kent Sibilev wrote: > > > On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar wrote: > > > Patch 7.4.1582 > > > Problem:Get E923 when using function(dict.func, [

Re: Patch 7.4.1582

2016-03-20 Thread Bram Moolenaar
Kent Sibilev wrote: > > > > > On Wednesday, March 16, 2016 at 5:52:38 PM UTC-4, Bram Moolenaar > > > > > wrote: > > > > > > Patch 7.4.1582 > > > > > > Problem:Get E923 when using function(dict.func, [], dict). > >