Re: BUG: echo_string incorrectly detects a structure as recursive

2010-07-28 Fir de Conversatie Bram Moolenaar
Matt Wozniski wrote: > To reproduce: > > :echo repeat([{'a':'1'}], 2) > [{'a': '1'}, {...}] > > expected output: [{'a': '1'}, {'a': '1'}] > > :echo repeat([[0]], 2) > [[0], [...]] > > expected output: [[0], [0]] > > This seems to be caused by echo_string deciding that the data > structure is

BUG: echo_string incorrectly detects a structure as recursive

2010-07-27 Fir de Conversatie Matt Wozniski
To reproduce: :echo repeat([{'a':'1'}], 2) [{'a': '1'}, {...}] expected output: [{'a': '1'}, {'a': '1'}] :echo repeat([[0]], 2) [[0], [...]] expected output: [[0], [0]] This seems to be caused by echo_string deciding that the data structure is recursive, despite the fact that it definitely sho