comparison src/testdir/test_vim9_expr.vim @ 20089:7fc5d62fe2a5 v8.2.0600

patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables Commit: https://github.com/vim/vim/commit/d3aac2917db38f8590648ee76eebfa178fc4c069 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 19 14:32:17 2020 +0200 patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables Problem: Vim9: cannot read or write w:, t: and b: variables. Solution: Implement load and store for w:, t: and b: variables. (closes #5950)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Apr 2020 14:45:03 +0200
parents 8fb1cf4c44d5
children 0612c64a2b87
comparison
equal deleted inserted replaced
20088:004788f1261e 20089:7fc5d62fe2a5
929 929
930 call CheckDefFailure("echo a:somevar", 'E1075:') 930 call CheckDefFailure("echo a:somevar", 'E1075:')
931 call CheckDefFailure("echo l:somevar", 'E1075:') 931 call CheckDefFailure("echo l:somevar", 'E1075:')
932 call CheckDefFailure("echo x:somevar", 'E1075:') 932 call CheckDefFailure("echo x:somevar", 'E1075:')
933 933
934 " TODO
935 call CheckDefFailure("echo b:somevar", 'not supported yet')
936 call CheckDefFailure("echo w:somevar", 'not supported yet')
937 call CheckDefFailure("echo t:somevar", 'not supported yet')
938
939 call CheckDefExecFailure("let x = +g:astring", 'E1030:') 934 call CheckDefExecFailure("let x = +g:astring", 'E1030:')
940 call CheckDefExecFailure("let x = +g:ablob", 'E974:') 935 call CheckDefExecFailure("let x = +g:ablob", 'E974:')
941 call CheckDefExecFailure("let x = +g:alist", 'E745:') 936 call CheckDefExecFailure("let x = +g:alist", 'E745:')
942 call CheckDefExecFailure("let x = +g:adict", 'E728:') 937 call CheckDefExecFailure("let x = +g:adict", 'E728:')
943 938