summaryrefslogtreecommitdiffstats
path: root/src/errors.h
AgeCommit message (Collapse)Author
2022-05-06patch 8.2.4890: inconsistent capitalization in error messagesv8.2.4890Bram Moolenaar
Problem: Inconsistent capitalization in error messages. Solution: Make capitalization consistent. (Doug Kearns)
2022-05-06patch 8.2.4883: string interpolation only works in heredocv8.2.4883LemonBoy
Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes #10327)
2022-05-04patch 8.2.4863: accessing freed memory in test without the +channel featurev8.2.4863Bram Moolenaar
Problem: Accessing freed memory in test without the +channel feature. (Dominique Pellé) Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not implemented. (closes #10350)
2022-05-04patch 8.2.4861: it is not easy to restore saved mappingsv8.2.4861Ernie Rael
Problem: It is not easy to restore saved mappings. Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
2022-04-17patch 8.2.4774: crash when using a number for lambda namev8.2.4774Bram Moolenaar
Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference.
2022-04-10patch 8.2.4727: unused codev8.2.4727Dominique Pelle
Problem: Unused code. Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
2022-04-09patch 8.2.4726: cannot use expand() to get the script namev8.2.4726LemonBoy
Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
2022-04-04patch 8.2.4688: new regexp engine does not give an error for "\%v"v8.2.4688Bram Moolenaar
Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue #10079)
2022-03-31patch 8.2.4653: "import autoload" does not check the file namev8.2.4653Bram Moolenaar
Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
2022-03-21patch 8.2.4604: error for redefining a script item may be confusingv8.2.4604Bram Moolenaar
Problem: Error for redefining a script item may be confusing. Solution: Put quotes around the name.
2022-03-16patch 8.2.4582: useless code handling a type declarationv8.2.4582Bram Moolenaar
Problem: Useless code handling a type declaration. Solution: Remove the code and give an error.
2022-03-15patch 8.2.4573: a nested function is compiled for debugging without contextv8.2.4573Bram Moolenaar
Problem: A nested function (closure) is compiled for debugging without context. Solution: Check if a nested function is marked for debugging before compiling it. Give an error when trying to compile a closure without its context. (closes #9951)
2022-03-05patch 8.2.4516: build failure without the +eval featurev8.2.4516Bram Moolenaar
Problem: Build failure without the +eval feature. Solution: Move error message outside of #ifdef.
2022-03-05patch 8.2.4515: old subsitute syntax is still supportedv8.2.4515Bram Moolenaar
Problem: Old subsitute syntax is still supported. Solution: Disallow using backslash after ":s" in Vim9 script.
2022-03-05patch 8.2.4514: Vim9: some flow commands can be shortenedv8.2.4514Bram Moolenaar
Problem: Vim9: some flow commands can be shortened. Solution: Also require using the full name for ":return", ":enddef", ":continue", ":export" and ":import".
2022-03-05patch 8.2.4510: Vim9: shortening commands leads to confusing scriptv8.2.4510Bram Moolenaar
Problem: Vim9: shortening commands leads to confusing script. Solution: In Vim9 script require at least ":cont" for ":continue", "const" instead of "cons", "break" instead of "brea", "catch" instead of "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor" instead of "endfo" "endif" instead of "en" "endtry" instead of "endt", "finally" instead of "fina", "throw" instead of "th", "while" instead of "wh".
2022-03-05patch 8.2.4509: Vim9: can declare a variable with ":va"v8.2.4509Bram Moolenaar
Problem: Vim9: can declare a variable with ":va". Solution: Disallow using ":va", require using ":var".
2022-03-04patch 8.2.4506: "pattern not found" for :global is not an error messagev8.2.4506Bram Moolenaar
Problem: "pattern not found" for :global is not an error message. Solution: In Vim9 script make this an actual error, so that try/catch can be used as expected.
2022-03-04patch 8.2.4505: Vim9: outdated "autocmd nested" still worksv8.2.4505Bram Moolenaar
Problem: Vim9: outdated "autocmd nested" still works. Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9 script.
2022-03-03patch 8.2.4500: Vim9: can declare a global variable on the command linev8.2.4500Bram Moolenaar
Problem: Vim9: can declare a global variable on the command line. Solution: Disallow declaring a variable on the command line. (closes #9881)
2022-02-23patch 8.2.4460: Vim9: wrong error for defining dict functionv8.2.4460Bram Moolenaar
Problem: Vim9: wrong error for defining dict function. Solution: Explicitly check for trying to define a dict function. (closes 9827)
2022-02-17patch 8.2.4408: Vim9: some code not covered by testsv8.2.4408Bram Moolenaar
Problem: Vim9: some code not covered by tests. Solution: Add a few more tests. Correct error message. Allow unlet on dict with a number key.
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.4385: cannot build tiny versionv8.2.4385Bram Moolenaar
Problem: Cannot build tiny version. Solution: Adjust #ifdefs.
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-13patch 8.2.4371: Vim9: can create a script variable from a legacy functionv8.2.4371Bram Moolenaar
Problem: Vim9: can create a script variable from a legacy function. Solution: Disallow creating a script variable from a function.
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-08patch 8.2.4330: Vim9: no error if script imports itselfv8.2.4330Bram Moolenaar
Problem: Vim9: no error if script imports itself. Solution: Give an error when a script imports itself.
2022-02-07patch 8.2.4324: Vim9: script-local function name can start with "_"v8.2.4324Bram Moolenaar
Problem: Vim9: script-local function name can start with "_". Solution: Check for leading capital after "s:". Correct error message.
2022-02-07patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation failsv8.2.4317Bram Moolenaar
Problem: MS-Windows: Vim exits when Python 3 initialisation fails. Solution: Hook into the exit() function to recover from the failure. (Ken Takata, closes #9710)
2022-02-03patch 8.2.4291: error number used twicev8.2.4291Bram Moolenaar
Problem: Error number used twice. Solution: Renumber of of the errors.
2022-01-30patch 8.2.4264: Vim9: can use old style autoload function namev8.2.4264Bram Moolenaar
Problem: Vim9: can use old style autoload function name. Solution: Give an error for old style autoload function name.
2022-01-28patch 8.2.4246: one error message not in errors.hv8.2.4246Bram Moolenaar
Problem: One error message not in errors.h. (Antonio Colombo) Solution: Move the message and rename.
2022-01-28patch 8.2.4240: error for using flatten() in Vim9 script is unclearv8.2.4240Bram Moolenaar
Problem: Error for using flatten() in Vim9 script is unclear. Solution: Add a remark to use flattennew().
2022-01-27patch 8.2.4234: test_garbagecollect_now() does not check v:testingv8.2.4234Bram Moolenaar
Problem: test_garbagecollect_now() does not check v:testing as documented. Solution: Give an error if v:testing is not set.
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.
2022-01-24patch 8.2.4206: condition with many "(" causes a crashv8.2.4206Bram Moolenaar
Problem: Condition with many "(" causes a crash. Solution: Limit recursion to 1000.
2022-01-21patch 8.2.4174: Vim9: can use an autoload name in normal scriptv8.2.4174Bram Moolenaar
Problem: Vim9: can use an autoload name in normal script. Solution: Disallow using an autoload name.
2022-01-20patch 8.2.4167: Vim9: error message for old style importv8.2.4167Bram Moolenaar
Problem: Vim9: error message for old style import. Solution: Use another error message. Add a test.
2022-01-19patch 8.2.4147: E464 does not always include the offending commandv8.2.4147Bram Moolenaar
Problem: E464 does not always include the offending command. Solution: Add another error message with "%s". (closes #9564)
2022-01-18patch 8.2.4136: Vim9: the "autoload" argument of ":vim9script" is not usefulv8.2.4136Bram Moolenaar
Problem: Vim9: the "autoload" argument of ":vim9script" is not useful. Solution: Remove the argument. (closes #9555)
2022-01-16patch 8.2.4115: cannot use a method with a complex expressionv8.2.4115Bram Moolenaar
Problem: Cannot use a method with a complex expression. Solution: Evaluate the expression after "->" and use the result.
2022-01-16patch 8.2.4105: translation related comment in the wrong placev8.2.4105K.Takata
Problem: Translation related comment in the wrong place. Solution: Move it back with the text. (Ken Takata, closes #9537)
2022-01-09patch 8.2.4050: Vim9: need to prefix every item in an autoload scriptv8.2.4050Bram Moolenaar
Problem: Vim9: need to prefix every item in an autoload script. Solution: First step in supporting "vim9script autoload" and "import autoload".
2022-01-09patch 8.2.4047: depending on the build features error messages are unusedv8.2.4047Dominique Pelle
Problem: Depending on the build features error messages are unused. Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
2022-01-08patch 8.2.4046: some error messages not in the right placev8.2.4046Bram Moolenaar
Problem: Some error messages not in the right place. Solution: Adjust the errors file. Fix typo.
2022-01-08patch 8.2.4044: Vim9: no error when importing the same script twicev8.2.4044Bram Moolenaar
Problem: Vim9: no error when importing the same script twice. Solution: Give an error, unless it is a reload.
2022-01-07patch 8.2.4025: error for import not ending in .vim does not work for .vimrcv8.2.4025Bram Moolenaar
Problem: Error for import not ending in .vim does not work for .vimrc. Solution: Check that .vim is the end. (closes #9484)
2022-01-06patch 8.2.4019: Vim9: import mechanism is too complicatedv8.2.4019Bram Moolenaar
Problem: Vim9: import mechanism is too complicated. Solution: Do not use the Javascript mechanism but a much simpler one.
2022-01-06patch 8.2.4015: build failure with tiny featuresv8.2.4015Bram Moolenaar
Problem: Build failure with tiny features. (Tony Mechelynck) Solution: Adjust #ifdefs.