summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vim9_cmd.vim
AgeCommit message (Collapse)Author
5 dayspatch 9.1.0688: Vim9: dereferences NULL pointer in check_type_is_value()v9.1.0688Christian Brabandt
Problem: Vim9: dereferences NULL pointer in check_type_is_value() (Suyue Guo) Solution: Verify that the pointer is not Null fixes: #15540 closes: #15545 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-11patch 9.0.1897: Vim9: confusing error with .= in compiled functionsv9.0.1897Christian Brabandt
Problem: Vim9: confusing error with .= in compiled functions Solution: Check in error condition, if .= was attempted and in that case give a different error message. closes: #12972 closes: #13066 Signed-off-by: Christian Brabandt <cb@256bit.org>
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-10-15patch 9.0.0766: too many delete() calls in testsv9.0.0766Bram Moolenaar
Problem: Too many delete() calls in tests. Solution: Use deferred delete where possible.
2022-09-18patch 9.0.0498: various small issuesv9.0.0498Bram Moolenaar
Problem: Various small issues. Solution: Various small fixes.
2022-09-11patch 9.0.0444: trying to declare g:variable gives confusing errorv9.0.0444Bram Moolenaar
Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes #11108)
2022-09-02patch 9.0.0363: common names in test files causes tests to be flakyv9.0.0363Bram Moolenaar
Problem: Common names in test files causes tests to be flaky. Solution: Use more specific names.
2022-08-20patch 9.0.0232: test with BufNewFile autocmd is flakyv9.0.0232Bram Moolenaar
Problem: Test with BufNewFile autocmd is flaky. Solution: Use another file name.
2022-08-14patch 9.0.0212: invalid memory access when compiling :unletv9.0.0212Bram Moolenaar
Problem: Invalid memory access when compiling :unlet. Solution: Don't read past the end of the line.
2022-08-14patch 9.0.0211: invalid memory access when compiling :lockvarv9.0.0211Bram Moolenaar
Problem: Invalid memory access when compiling :lockvar. Solution: Don't read past the end of the line.
2022-08-04patch 9.0.0140: execute() does not use the "legacy" command modifierv9.0.0140Kota Kato
Problem: execute() does not use the "legacy" command modifier. Solution: pass the command modifier in sticky_cmdmod_flags. (Kota Kato, closes #10845)
2022-05-21patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989Bram Moolenaar
Problem: Cannot specify a function name for :defcompile. Solution: Implement a function name argument for :defcompile.
2022-05-17patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does notv8.2.4970Bram Moolenaar
Problem: "eval 123" gives an error, "eval 'abc'" does not. Solution: Also give an error when evaluating only a string. (closes #10434)
2022-05-05patch 8.2.4872: Vim9: no error for using an expression onlyv8.2.4872Bram Moolenaar
Problem: Vim9: no error for using an expression only at the script level when followed by an empty line. Solution: Do not check the line number but whether something follows. (closes #10357)
2022-04-27patch 8.2.4835: Vim9: some lines not covered by testsv8.2.4835Bram Moolenaar
Problem: Vim9: some lines not covered by tests. Solution: Add a few more tests. Fix disassemble output.
2022-04-04patch 8.2.4682: Vim9: can use :unlockvar for const variablev8.2.4682Bram Moolenaar
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) Solution: Check whether the variable is a const.
2022-04-03patch 8.2.4678: Vim9: not all code is testedv8.2.4678Bram Moolenaar
Problem: Vim9: not all code is tested. Solution: Add a few more tests.
2022-04-02patch 8.2.4666: Vim9: assignment not recognized in skipped blockv8.2.4666Bram Moolenaar
Problem: Vim9: assignment not recognized in skipped block. Solution: When skipping assume identifier exists. (closes #10059)
2022-03-23patch 8.2.4615: mapping with escaped bar does not work in :def functionv8.2.4615Bram Moolenaar
Problem: Mapping with escaped bar does not work in :def function. (Sergey Vlasov) Solution: Do not remove the backslash. (closes #10002)
2022-03-20patch 8.2.4601: Vim9: not enough test coverage for executing :def functionv8.2.4601Bram Moolenaar
Problem: Vim9: not enough test coverage for executing :def function. Solution: Add a few more tests.
2022-03-20patch 8.2.4600: Vim9: not enough test coverage for executing :def functionv8.2.4600Bram Moolenaar
Problem: Vim9: not enough test coverage for executing :def function. Solution: Add a few more tests. Fix inconsistencies.
2022-03-12patch 8.2.4552: in a :def function "put = expr" does not workv8.2.4552Bram Moolenaar
Problem: In a :def function "put = expr" does not work. Solution: Skip over white space. (closes #9936)
2022-03-04patch 8.2.4507: test fails because of new error messagev8.2.4507Bram Moolenaar
Problem: Test fails because of new error message. Solution: Avoid the test fails.
2022-02-17patch 8.2.4410: Vim9: some code not covered by testsv8.2.4410Bram Moolenaar
Problem: Vim9: some code not covered by tests. Solution: Add a few more tests. Remove dead code.
2022-02-17patch 8.2.4407: Vim9: some code not covered by testsv8.2.4407Bram Moolenaar
Problem: Vim9: some code not covered by tests. Solution: Add more tests. Avoid giving two errors. Remove dead code.
2022-02-15patch 8.2.4395: some code lines not covered by testsv8.2.4395Bram Moolenaar
Problem: Some code lines not covered by tests. Solution: Add a few more test cases. Fix getting more than one error for invalid assignment.
2022-02-14patch 8.2.4384: Vim9: error message not tested, some code not testedv8.2.4384Bram Moolenaar
Problem: Vim9: error message not tested, some code not tested. Solution: Add a couple of test cases. Give an error for a command modifier without a command.
2022-02-12patch 8.2.4365: sticky command modifiers are too stickyv8.2.4365Bram Moolenaar
Problem: sticky command modifiers are too sticky. Solution: Do not apply command modifiers to a called function. (closes #9751)
2022-02-12patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistenciesv8.2.4360Bram Moolenaar
Problem: Vim9: allowing use of "s:" leads to inconsistencies. Solution: Disallow using "s:" in Vim9 script at the script level.
2022-02-12patch 8.2.4357: sticky command modifiers are too stickyv8.2.4357Bram Moolenaar
Problem: sticky command modifiers are too sticky. Solution: Do not apply command modifiers to a sourced script. (closes #9751)
2022-02-11patch 8.2.4348: "legacy exe cmd" does not do what one would expectv8.2.4348Bram Moolenaar
Problem: "legacy exe cmd" does not do what one would expect. Solution: Apply the "legacy" and "vim9script" command modifiers to the argument of ":execute".
2022-02-07patch 8.2.4319: :put does not work properly in compiled functionv8.2.4319Bram Moolenaar
Problem: :put does not work properly in compiled function. (John Beckett) Solution: Adjust the direction when using line zero.
2022-02-04patch 8.2.4296: Vim9: not all code covered by testsv8.2.4296Bram Moolenaar
Problem: Vim9: not all code covered by tests. Solution: Add a few more tests for corner cases. Fix hang when single quote is missing.
2022-02-03patch 8.2.4292: test failsv8.2.4292Bram Moolenaar
Problem: Test fails. Solution: Adjust the expected error number.
2022-01-30patch 8.2.4260: Vim9: can still use a global function without g:v8.2.4260Bram Moolenaar
Problem: Vim9: can still use a global function without g: at the script level. Solution: Also check for g: at the script level. (issue #9637)
2022-01-29patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar
Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.
2022-01-26patch 8.2.4227: Vim9: using "lockvar!" in :def function does not workv8.2.4227Bram Moolenaar
Problem: Vim9: using "lockvar!" in :def function does not work. Solution: Add "!" instead of "-1". (closes #9634)
2022-01-26patch 8.2.4225: Vim9: depth argument of :lockvar not parsed in :def functionv8.2.4225Bram Moolenaar
Problem: Vim9: depth argument of :lockvar not parsed in :def function. Solution: Parse the optional depth argument. (closes #9629) Fix that locking doesn't work for a non-materialize list.
2021-12-20patch 8.2.3859: Vim9: some code lines not testedv8.2.3859Bram Moolenaar
Problem: Vim9: some code lines not tested. Solution: Add a few specific tests.
2021-12-20patch 8.2.3858: Vim9: not enough testsv8.2.3858Bram Moolenaar
Problem: Vim9: not enough tests. Solution: Add tests for :try/:catch and :redir. Add missing type check.
2021-12-19patch 8.2.3854: Vim9: inconsistent arguments for test functionsv8.2.3854Bram Moolenaar
Problem: Vim9: inconsistent arguments for test functions. Solution: When :def function and script have different arguments use a list with two items instead of a separate function.
2021-12-04patch 8.2.3733: Vim9: using "legacy" before range does not workv8.2.3733Bram Moolenaar
Problem: Vim9: using "legacy" before range does not work. Solution: Skip over range before parsing command. (closes #9270)
2021-12-01patch 8.2.3711: Vim9: memory leak when compiling :elseif failsv8.2.3711Bram Moolenaar
Problem: Vim9: memory leak when compiling :elseif fails. Solution: Cleanup ppconst.
2021-12-01patch 8.2.3710: Vim9: backtick expression expanded for :globalv8.2.3710Bram Moolenaar
Problem: Vim9: backtick expression expanded for :global. Solution: Check the following command.
2021-11-30patch 8.2.3709: Vim9: backtick expression expanded when not desiredv8.2.3709Bram Moolenaar
Problem: Vim9: backtick expression expanded when not desired. Solution: Only expand a backtick expression for commands that expand their argument. Remove a few outdated TODO comments.
2021-11-30patch 8.2.3708: Vim9: test fails with different errorv8.2.3708Bram Moolenaar
Problem: Vim9: test fails with different error. Solution: Correct the error number.
2021-11-28patch 8.2.3690: Vim9: "filter #pat# cmd" does not workv8.2.3690Bram Moolenaar
Problem: Vim9: "filter #pat# cmd" does not work. Solution: Do not see #pat# as a comment.
2021-11-27patch 8.2.3683: Vim9: cannot use in :...do commandsv8.2.3683Bram Moolenaar
Problem: Vim9: cannot use in :...do commands. Solution: Add EX_EXPAND to the commands. (closes #9232)
2021-11-23patch 8.2.3656: Vim9: no error for an evironment variable by itselfv8.2.3656Bram Moolenaar
Problem: Vim9: no error for an evironment variable by itself. Solution: Give a "without effect" error. (closes #9166)
2021-11-22patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variablev8.2.3651Bram Moolenaar
Problem: Vim9: no error for :lock or :unlock with unknown variable. Solution: Give an error. (closes #9188)