Skip to content

Commit

Permalink
lua/converter: Fix typo in assert condition (#6708)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyX-I authored and justinmk committed May 10, 2017
1 parent d76a958 commit c66fd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvim/lua/converter.c
Expand Up @@ -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);
Expand Down

0 comments on commit c66fd37

Please sign in to comment.