Strange bug and crash with :echo and lists, observed on gVim 7.1.283 (also gVim 7.0):
let list = [] call add(list, "abc") call add(list, "def") echo list[0] " ^ important let list = reverse(list) call add(list, "ghi") let left = list[: 1] let right = [] " echo list[0] list[1] list[2] " " ^ crash, when uncommented! echo left list[2] right " ['abc', 'ghi'] ghi [] wrong let left = list[: 1] echo left list[2] right " ['def', 'abc'] ghi [] ok -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
