Hari Krishna Dara wrote:
> I need to create a doubly linked list and since this will cause problem
> with lockvar, I will just comment the lock/unlockvar commands. I am
> wondering if you have any plans to fix this issue. The lockvar is a
> great way to prevent accidental changes (and it already
Bram,
I need to create a doubly linked list and since this will cause problem
with lockvar, I will just comment the lock/unlockvar commands. I am
wondering if you have any plans to fix this issue. The lockvar is a
great way to prevent accidental changes (and it already helped me once)
so I would
On Sat, 7 Oct 2006 at 3:32pm, Bram Moolenaar wrote:
>
> Hari Krishna Dara wrote:
>
> > The :lockvar and :unlockvar commands fail when there is a recursive
> > references. E.g., try the below:
> >
> > :let a = {}
> > :let b = {}
> > :let a.b = b
> > :let b:a = a
> > :lockvar! a
> > E743: variable
Hari Krishna Dara wrote:
> The :lockvar and :unlockvar commands fail when there is a recursive
> references. E.g., try the below:
>
> :let a = {}
> :let b = {}
> :let a.b = b
> :let b:a = a
> :lockvar! a
> E743: variable nested too deep for (un)lock
>
> You could of course end up with more comp
The :lockvar and :unlockvar commands fail when there is a recursive
references. E.g., try the below:
:let a = {}
:let b = {}
:let a.b = b
:let b:a = a
:lockvar! a
E743: variable nested too deep for (un)lock
You could of course end up with more complicated indirect recursive
references as well, s