mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
lua/converter: Fix typo in assert condition (#6708)
Ref https://github.com/neovim/neovim/pull/4411#issuecomment-300248206
This commit is contained in:

committed by
Justin M. Keyes

parent
d76a95824d
commit
c66fd37603
@@ -320,7 +320,7 @@ bool nlua_pop_typval(lua_State *lstate, typval_T *ret_tv)
|
|||||||
cur.special = table_props.has_string_with_nul;
|
cur.special = table_props.has_string_with_nul;
|
||||||
if (table_props.has_string_with_nul) {
|
if (table_props.has_string_with_nul) {
|
||||||
decode_create_map_special_dict(cur.tv);
|
decode_create_map_special_dict(cur.tv);
|
||||||
assert(cur.tv->v_type = VAR_DICT);
|
assert(cur.tv->v_type == VAR_DICT);
|
||||||
dictitem_T *const val_di = tv_dict_find(cur.tv->vval.v_dict,
|
dictitem_T *const val_di = tv_dict_find(cur.tv->vval.v_dict,
|
||||||
S_LEN("_VAL"));
|
S_LEN("_VAL"));
|
||||||
assert(val_di != NULL);
|
assert(val_di != NULL);
|
||||||
|
Reference in New Issue
Block a user