Mercurial > vim
view src/proto/vim9execute.pro @ 23578:85ce241ff9e3 v8.2.2331
patch 8.2.2331: Vim9: wrong error when modifying dict declared with :final
Commit: https://github.com/vim/vim/commit/082517570d1dce2faf3baa9f752ce0858355d221
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 11 21:20:18 2021 +0100
patch 8.2.2331: Vim9: wrong error when modifying dict declared with :final
Problem: Vim9: wrong error when modifying dict declared with :final.
Solution: Do not check for writable variable when an index follows.
(closes #7657)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 Jan 2021 21:30:03 +0100 |
parents | 1bb7fa4f9b35 |
children | 1816ea68c022 |
line wrap: on
line source
/* vim9execute.c */ void to_string_error(vartype_T vartype); void funcstack_check_refcount(funcstack_T *funcstack); char_u *char_from_string(char_u *str, varnumber_T index); char_u *string_slice(char_u *str, varnumber_T first, varnumber_T last); int fill_partial_and_closure(partial_T *pt, ufunc_T *ufunc, ectx_T *ectx); int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, partial_T *partial, typval_T *rettv); void ex_disassemble(exarg_T *eap); int tv2bool(typval_T *tv); void emsg_using_string_as(typval_T *tv, int as_number); int check_not_string(typval_T *tv); /* vim: set ft=c : */