if_lua_5.2_udata.diff causes crash.

:let x = {"n": 123}
:lua x = vim.eval("x")
:unlet x

... do something to waste memory
:for i in range(999999) | let z = {"n": 999} | endfor

:lua print(x.n)   <- Vim's x is already freed
crash...

-- 
Yukihiro Nakadaira - [email protected]

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui