diff options
author | Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru> | 2017-05-10 09:44:28 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-05-10 08:44:28 +0200 |
commit | c66fd3760373fbd870a230ba6fc8fec438e83a27 (patch) | |
tree | 1a8477137591fcd674b45a5c7e0eccd5452b7784 | |
parent | d76a95824d905006c0ce8f33a703ceaf63b90f9d (diff) | |
download | rneovim-c66fd3760373fbd870a230ba6fc8fec438e83a27.tar.gz rneovim-c66fd3760373fbd870a230ba6fc8fec438e83a27.tar.bz2 rneovim-c66fd3760373fbd870a230ba6fc8fec438e83a27.zip |
lua/converter: Fix typo in assert condition (#6708)
Ref https://github.com/neovim/neovim/pull/4411#issuecomment-300248206
-rw-r--r-- | src/nvim/lua/converter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/converter.c b/src/nvim/lua/converter.c index 7a6167350f..31e49df8f9 100644 --- a/src/nvim/lua/converter.c +++ b/src/nvim/lua/converter.c @@ -320,7 +320,7 @@ bool nlua_pop_typval(lua_State *lstate, typval_T *ret_tv) cur.special = table_props.has_string_with_nul; if (table_props.has_string_with_nul) { 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, S_LEN("_VAL")); assert(val_di != NULL); |