comparison src/testdir/test_vim9_func.vim @ 23299:d5919c5fd3dc v8.2.2195

patch 8.2.2195: failing tests for :const Commit: https://github.com/vim/vim/commit/1dcf55d4f1aa34b6d22001038d43f3e46407fa2e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 22:07:30 2020 +0100 patch 8.2.2195: failing tests for :const Problem: Failing tests for :const. Solution: Add missing check for ASSIGN_FINAL.
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 22:15:03 +0100
parents 40f1d3f0c53e
children c3c690c8fcbf
comparison
equal deleted inserted replaced
23298:553475a18c8c 23299:d5919c5fd3dc
1030 g:Aconst = 99 1030 g:Aconst = 99
1031 enddef 1031 enddef
1032 call Change() 1032 call Change()
1033 unlet g:Aconst 1033 unlet g:Aconst
1034 END 1034 END
1035 CheckScriptFailure(lines, 'E1122: Variable is locked: Aconst', 2) 1035 CheckScriptFailure(lines, 'E741: Value is locked: Aconst', 2)
1036 enddef 1036 enddef
1037 1037
1038 " Test that inside :function a Python function can be defined, :def is not 1038 " Test that inside :function a Python function can be defined, :def is not
1039 " recognized. 1039 " recognized.
1040 func Test_function_python() 1040 func Test_function_python()