ZyX wrote:
Attached script, being sourced causes vim to hang up forever.
Test command:
vim -u NONE -c 'so bug.vim'
To clarify the problem, start Vim 7.3.3 and enter the following
(this is the essence of the script mentioned above, and will
cause Vim to hang, so close all files first):
Ответ на сообщение «RE: [BUG] Being provided some equal recursive structures,
equality operator never stops comparison»,
присланное в 12:49:15 23 августа 2010, Понедельник,
отправитель John Beckett:
The above displays:
l= [[...]]
k= [[]]
I do not know what the ... means
If I am not mistaking, ... means ``I already displayed this structure, so I do
not want to display it for the second time''. Example:
:let d={}
:let l=[d, d]
:echo l
[{}, {...}]
This makes possible echoing recursive data structures, like the one that
causes
In such a case,
Ответ на сообщение «Re: [BUG] Being provided some equal recursive structures,
equality operator never stops comparison»,
присланное в 17:34:55 23 августа 2010, Понедельник,
отправитель Adrien Axioplase Piérard:
But in vim, you cannot use assignment in eval statemnts. You possibly can
provide
On Mon, Aug 23, 2010 at 4:45 PM, ZyX wrote:
Ответ на сообщение «Re: [BUG] Being provided some equal recursive structures,
equality operator never stops comparison»,
присланное в 17:34:55 23 августа 2010, Понедельник,
отправитель Adrien Axioplase Piérard:
But in vim, you cannot use assignment
Attached script, being sourced causes vim to hang up forever. Test command:
vim -u NONE -c 'so bug.vim'
let l=[]
call add(l, l)
let dict4={l: l}
call add(dict4.l, dict4)
echo (dict4 ==# deepcopy(dict4))
qa!
signature.asc
Description: This is a digitally signed message part.