summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vim9_builtin.vim
AgeCommit message (Collapse)Author
2022-09-15patch 9.0.0473: fullcommand() only works for the current script versionv9.0.0473Bram Moolenaar
Problem: fullcommand() only works for the current script version. Solution: Add an optional argument for the script version.
2022-09-09patch 9.0.0430: cannot use repeat() with a blobv9.0.0430Bakudankun
Problem: Cannot use repeat() with a blob. Solution: Implement blob repeat. (closes #11090)
2022-09-02patch 9.0.0359: error message for wrong argument type is not specificv9.0.0359Yegappan Lakshmanan
Problem: Error message for wrong argument type is not specific. Solution: Include more information in the error. (Yegappan Lakshmanan, closes #11037)
2022-08-30patch 9.0.0331: cannot use items() on a stringv9.0.0331Bram Moolenaar
Problem: Cannot use items() on a string. Solution: Make items() work on a string. (closes #11016)
2022-08-30patch 9.0.0327: items() does not work on a listv9.0.0327Bram Moolenaar
Problem: items() does not work on a list. (Sergey Vlasov) Solution: Make items() work on a list. (closes #11013)
2022-08-28patch 9.0.0303: it is not easy to get information about a scriptv9.0.0303Yegappan Lakshmanan
Problem: It is not easy to get information about a script. Solution: Make getscriptinf() return the version. When selecting a specific script return functions and variables. (Yegappan Lakshmanan, closes #10991)
2022-08-28patch 9.0.0299: error messages for setcmdline() could be betterv9.0.0299Yegappan Lakshmanan
Problem: Error messages for setcmdline() could be better. Solution: Use more specific error messages. (Yegappan Lakshmanan, closes #10995)
2022-08-27patch 9.0.0285: it is not easy to change the command line from a pluginv9.0.0285Shougo Matsushita
Problem: It is not easy to change the command line from a plugin. Solution: Add setcmdline(). (Shougo Matsushita, closes #10869)
2022-08-25patch 9.0.0269: getscriptinfo() does not include the versionv9.0.0269Yegappan Lakshmanan
Problem: getscriptinfo() does not include the version. Cannot select entries by script name. Solution: Add the "version" item and the "name" argument. (Yegappan Lakshmanan, closes #10962)
2022-08-18patch 9.0.0226: job_start() test may fail under valgrindv9.0.0226Bram Moolenaar
Problem: job_start() test may fail under valgrind. Solution: Wait until the job is running.
2022-08-14patch 9.0.0204: indexof() may leak memoryv9.0.0204Yegappan Lakshmanan
Problem: indexof() may leak memory. Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
2022-08-13patch 9.0.0202: code and help for indexof() is not idealv9.0.0202Yegappan Lakshmanan
Problem: Code and help for indexof() is not ideal. Solution: Refactor the code, improve the help. (Yegappan Lakshmanan, closes #10908)
2022-08-13patch 9.0.0196: finding value in list may require a for loopv9.0.0196Yegappan Lakshmanan
Problem: Finding value in list may require a for loop. Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
2022-07-27patch 9.0.0090: no error when assigning bool to a string optionv9.0.0090Bram Moolenaar
Problem: No error when assigning bool to a string option with setwinvar(). Solution: Give an error (closes #10766)
2022-06-29patch 9.0.0003: functions are global while they could be localv9.0.0003Yegappan Lakshmanan
Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
2022-05-26patch 8.2.5019: cannot get the first screen column of a characterv8.2.5019LemonBoy
Problem: Cannot get the first screen column of a character. Solution: Let virtcol() optionally return a list. (closes #10482, closes #7964)
2022-05-19patch 8.2.4981: it is not possible to manipulate autocommandsv8.2.4981Yegappan Lakshmanan
Problem: It is not possible to manipulate autocommands. Solution: Add functions to add, get and set autocommands. (Yegappan Lakshmanan, closes #10291)
2022-05-12patch 8.2.4946: Vim9: some code not covered by testsv8.2.4946Bram Moolenaar
Problem: Vim9: some code not covered by tests. Solution: Add a few more test cases. Remove dead code.
2022-05-12patch 8.2.4940: some code is never usedv8.2.4940Bram Moolenaar
Problem: Some code is never used. Solution: Remove dead code. Add a few more test cases.
2022-05-10patch 8.2.4932: not easy to filter the output of maplist()v8.2.4932Ernie Rael
Problem: Not easy to filter the output of maplist(). Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
2022-05-09patch 8.2.4927: return type of remove() incorrect when using three argumentsv8.2.4927Bram Moolenaar
Problem: Return type of remove() incorrect when using three arguments. Solution: Use first argument type when there are three arguments. (closes #10387)
2022-05-06patch 8.2.4892: test failures because of changed error messagesv8.2.4892Bram Moolenaar
Problem: Test failures because of changed error messages. Solution: Adjust the exptected error messages.
2022-05-06patch 8.2.4879: screendump test may fail when using valgrindv8.2.4879Bram Moolenaar
Problem: Screendump test may fail when using valgrind. Solution: Wait longer for the first screendump.
2022-05-05patch 8.2.4870: Vim9: expression in :substitute is not compiledv8.2.4870LemonBoy
Problem: Vim9: expression in :substitute is not compiled. Solution: Use an INSTR instruction if possible. (closes #10334)
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-23patch 8.2.4809: various things no6 properly testedv8.2.4809Yegappan Lakshmanan
Problem: Various things no6 properly tested. Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
2022-04-18patch 8.2.4786: test for win_gotoid() in Visual mode fails on Macv8.2.4786Bram Moolenaar
Problem: Test for win_gotoid() in Visual mode fails on Mac. Solution: Skip the test on MacOS.
2022-04-18patch 8.2.4785: Visual mode not stopped if win_gotoid() goes to other bufferv8.2.4785Bram Moolenaar
Problem: Visual mode not stopped early enough if win_gotoid() goes to another buffer. (Sergey Vlasov) Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
2022-04-05patch 8.2.4698: Vim9: script variable has no flag that it was setv8.2.4698Bram Moolenaar
Problem: Vim9: script variable has no flag that it was set. Solution: Add a flag that it was set, to avoid giving it a value when used. (closes #10088)
2022-04-03patch 8.2.4679: cannot have expandcmd() give an error message for mistakesv8.2.4679Yegappan Lakshmanan
Problem: Cannot have expandcmd() give an error message for mistakes. Solution: Add an optional argument to give errors. Fix memory leak when expanding files fails. (Yegappan Lakshmanan, closes #10071)
2022-03-28patch 8.2.4643: Vim9: variable may be locked unintentionallyv8.2.4643Bram Moolenaar
Problem: Vim9: variable may be locked unintentionally. Solution: Clear "v_lock". (closes #10036)
2022-03-27patch 8.2.4634: Vim9: cannot initialize a variable to null_listv8.2.4634Bram Moolenaar
Problem: Vim9: cannot initialize a variable to null_list. Solution: Give negative count to NEWLIST. (closes #10027) Also fix inconsistencies in comparing with null values.
2022-03-08patch 8.2.4529: Vim9: comparing partial with function failsv8.2.4529Bram Moolenaar
Problem: Vim9: comparing partial with function fails. Solution: Support this comparison. Avoid a crash. (closes #9909) Add more test cases.
2022-02-23patch 8.2.4459: Vim9: compiling sort() call fails with unknown argumentsv8.2.4459Bram Moolenaar
Problem: Vim9: compiling sort() call fails with a funcref that has unknown arguments. Solution: Do not check the arguments if they are unknown at compile time. (closes #9835)
2022-02-23patch 8.2.4458: Vim9: compiling filter() call fails with unknown argumentsv8.2.4458Bram Moolenaar
Problem: Vim9: compiling filter() call fails with funcref that has unknown arguments. Solution: Do not check the arguments if they are unknown at compile time. (closes #9835)
2022-02-22patch 8.2.4449: vim9: function argument of sort() not checked at compile timev8.2.4449Bram Moolenaar
Problem: vim9: function argument of sort() not checked at compile time. Solution: Add a compile time check.
2022-02-22patch 8.2.4446: Vim9: cannot refer to a global function like a local onev8.2.4446Bram Moolenaar
Problem: Vim9: cannot refer to a global function like a local one. Solution: When g:name is not a variable but a function, use a function reference. (closes #9826)
2022-02-22patch 8.2.4441: Vim9: function argument of filter() not checked like map()v8.2.4441Bram Moolenaar
Problem: Vim9: function argument of filter() not checked like map(). Solution: Also check the function argument of filter().
2022-02-20patch 8.2.4426: map() function on string and blob does not check typesv8.2.4426Bram Moolenaar
Problem: map() function on string and blob does not check argument types at compile time. Solution: Check string and blob argument types. Support "0z1234->func()".
2022-02-20patch 8.2.4425: map() function does not check function argumentsv8.2.4425Bram Moolenaar
Problem: map() function does not check function arguments at compile time. Solution: Give an error if the arguments of a map() function are wrong.
2022-02-15patch 8.2.4390: Vim9: list from declaration with inferred type not setv8.2.4390Bram Moolenaar
Problem: Vim9: list from declaration with inferred type does not set the type on the value. Solution: When inferring the type in a variable declaration also set the type of the list or dictionary. (closes #9705) Do not set the type when the member is "any".
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-06patch 8.2.4313: Vim9: cannot change type of list after making a slicev8.2.4313Bram Moolenaar
Problem: Vim9: cannot change type of list after making a slice. Solution: Adjust the declared member type. (closes #9696)
2022-02-06patch 8.2.4310: Vim9: constant list and dict get a declaration typev8.2.4310Bram Moolenaar
Problem: Vim9: constant list and dict get a declaration type other than "any". Solution: A constant list and dict have a declared member type "any". (closes #9701)
2022-02-05patch 8.2.4304: Vim9: slice() makes a copy but doesn't change the typev8.2.4304Bram Moolenaar
Problem: Vim9: slice() makes a copy but doesn't change the type. Solution: Change the declared type like copy(). (closes #9696)
2022-02-05patch 8.2.4302: Vim9: return type of getline() is too strictv8.2.4302Bram Moolenaar
Problem: Vim9: return type of getline() is too strict. Solution: Make the declared type list<any>. Also do this for other functions returning a list of a specific type.
2022-02-05patch 8.2.4301: Vim9: type error for copy of dictv8.2.4301Bram Moolenaar
Problem: Vim9: type error for copy of dict. Solution: Do not use dict<any> but no type. (closes #9696)
2022-02-02patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()v8.2.4286Bram Moolenaar
Problem: Vim9: strict type checking after copy() and deepcopy(). Solution: Allow type to change after making a copy. (closes #9644)
2022-02-01patch 8.2.4279: Vim9: cannot change item type with map() after range()v8.2.4279Bram Moolenaar
Problem: Vim9: cannot change item type with map() after range(). Solution: Split the return type in current type and declared type. (closes #9665)
2022-01-31patch 8.2.4276: separate test function for the GUI scrollbarv8.2.4276Yegappan Lakshmanan
Problem: Separate test function for the GUI scrollbar. Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)