diff options
Diffstat (limited to 'src/vim9instr.c')
-rw-r--r-- | src/vim9instr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vim9instr.c b/src/vim9instr.c index 06d6b9004..0468f336c 100644 --- a/src/vim9instr.c +++ b/src/vim9instr.c @@ -946,8 +946,7 @@ generate_LOADV( semsg(_(e_variable_not_found_str), name); return FAIL; } - type = typval2type_vimvar(get_vim_var_tv(vidx), cctx->ctx_type_list); - + type = get_vim_var_type(vidx, cctx->ctx_type_list); return generate_LOAD(cctx, ISN_LOADV, vidx, NULL, type); } |