diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 3ba2f87e02..da069f405b 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -5705,12 +5705,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx) // without operator check type here, otherwise below if (has_index) - { use_type = member_type; - if (member_type == NULL) - // could be indexing "any" - use_type = &t_any; - } if (need_type(rhs_type, use_type, -1, cctx, FALSE, is_const) == FAIL) goto theend; |