summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_expr.vim
AgeCommit message (Collapse)Author
2024-01-02patch 9.1.0000: Vim 9.1 releasev9.1.0000v9.1.0Christian Brabandt
Problem: Need a new release Solution: Release Vim 9.1 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-15patch 9.0.2027: Vim9: no support for bitwise operators in lambda funcsv9.0.2027Yegappan Lakshmanan
Problem: Vim9: no support for bitwise operators in lambda funcs Solution: move "evaluate" assignment a bit up in order to decide to perform bitwise operations closes: #13342 closes: #13345 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-08-13patch 9.0.1704: Cannot use positional arguments for printf()v9.0.1704Christ van Willegen
Problem: Cannot use positional arguments for printf() Solution: Support positional arguments in string formatting closes: #12140 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
2023-05-24patch 9.0.1576: users may not know what to do with an internal errorv9.0.1576Bram Moolenaar
Problem: Users may not know what to do with an internal error. Solution: Add a translated message with instructions.
2023-05-08patch 9.0.1524: passing -1 for bool is not always rejectedv9.0.1524zeertzjq
Problem: Passing -1 for bool is not always rejected. Solution: Check for error in a better way. (closes #12358)
2023-05-07patch 9.0.1522: some functions give two error messagesv9.0.1522Bram Moolenaar
Problem: Some functions give two error messages. Solution: Do not give a second error message. (closes #12352)
2023-04-30patch 9.0.1500: The falsy operator is not tested properlyv9.0.1500zeertzjq
Problem: The falsy operator is not tested properly. Solution: Add a few more test cases. (closes #12319)
2023-04-27patch 9.0.1492: using uninitialized memory when argument is missingv9.0.1492Bram Moolenaar
Problem: Using uninitialized memory when argument is missing. Solution: Check there are sufficient arguments before the base. (closes #12302)
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-10-20patch 9.0.0804: crash when trying to divide a number by -1v9.0.0804Bram Moolenaar
Problem: Crash when trying to divice the largest negative number by -1. Solution: Handle this case specifically.
2022-09-21patch 9.0.0538: manually deleting test temp filesv9.0.0538Bram Moolenaar
Problem: Manually deleting test temp files. Solution: Add the 'D' flag to writefile().
2022-09-17patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-08-30patch 9.0.0335: checks for Dictionary argument often give a vague errorv9.0.0335Yegappan Lakshmanan
Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
2022-07-30patch 9.0.0113: has() is not strict about parsing the patch versionv9.0.0113K.Takata
Problem: has() is not strict about parsing the patch version. Solution: Check the version more strictly. (Ken Takata, closes #10752)
2022-07-18patch 9.0.0057: has('patch-xxx') returns truev9.0.0057Bram Moolenaar
Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes #10751)
2022-05-22patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar
Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
2022-05-22patch 8.2.5003: cannot do bitwise shiftsv8.2.5003Yegappan Lakshmanan
Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
2022-05-10patch 8.2.4930: interpolated string expression requires escapingv8.2.4930Bram Moolenaar
Problem: Interpolated string expression requires escaping. Solution: Do not require escaping in the expression.
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-03-09patch 8.2.4530: making comparison with null work changes legacy behaviorv8.2.4530Bram Moolenaar
Problem: Making comparison with null work changes legacy behavior. Solution: Only use the better comparison in Vim9 script. (closes #9910)
2022-03-08patch 8.2.4526: Vim9: cannot set variables to a null valuev8.2.4526Bram Moolenaar
Problem: Vim9: cannot set variables to a null value. Solution: Add null_list, null_job, etc.
2022-02-26patch 8.2.4476: operator name spelled wrongv8.2.4476=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Operator name spelled wrong. Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
2022-02-13patch 8.2.4373: expression test failsv8.2.4373Bram Moolenaar
Problem: Expression test fails. Solution: Make the test work with latest Vim9 syntax.
2022-02-12patch 8.2.4361: Vim9: some tests failv8.2.4361Bram Moolenaar
Problem: Vim9: some tests fail. Solution: Fix the tests, mostly by removing "s:".
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
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.
2021-12-26patch 8.2.3908: cannot use a script-local function for 'foldtext'v8.2.3908Yegappan Lakshmanan
Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
2021-12-24patch 8.2.3889: duplicate code for translating script-local function namev8.2.3889Yegappan Lakshmanan
Problem: Duplicate code for translating script-local function name. Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan, closes #9393)
2021-12-19patch 8.2.3856: Vim9: not enough testsv8.2.3856Bram Moolenaar
Problem: Vim9: not enough tests. Solution: Run more expression tests also with Vim9. Fix an uncovered problem.
2021-11-30patch 8.2.3705: cannot pass a lambda name to function() or funcref()v8.2.3705Bram Moolenaar
Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan Lakshmanan) Solution: Handle a lambda name differently.
2021-11-24patch 8.2.3663: using %S in printf() does not work correctlyv8.2.3663presuku
Problem: Using %S in printf() does not work correctly. Solution: Fix the problem and add more tests. (closes #9208)
2021-11-20patch 8.2.3630: printf() with %S does not handle multi-byte correctlyv8.2.3630presuku
Problem: Printf() with %S does not handle multi-byte correctly. Solution: Count cells instead of bytes. (closes #9169, closes #7486)
2021-08-28patch 8.2.3380: crash when using NULL string for funcref()v8.2.3380Bram Moolenaar
Problem: Crash when using NULL string for funcref(). Solution: Check for NULL argument. (issue #8260)
2021-05-25patch 8.2.2886: various pieces of code not covered by testsv8.2.2886Yegappan Lakshmanan
Problem: Various pieces of code not covered by tests. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
2020-11-27patch 8.2.2060: check for features implemented with "if"v8.2.2060Bram Moolenaar
Problem: Check for features implemented with "if". Solution: Use the Check commands. (Ken Takata, closes #7383)
2020-10-04patch 8.2.1798: Vim9: trinary operator condition is too permissivev8.2.1798Bram Moolenaar
Problem: Vim9: trinary operator condition is too permissive. Solution: Use tv_get_bool_chk().
2020-10-03patch 8.2.1794: no falsy Coalescing operatorv8.2.1794Bram Moolenaar
Problem: No falsy Coalescing operator. Solution: Add the "??" operator. Fix mistake with function argument count.
2020-08-06patch 8.2.1378: cannot put space between function name and parenv8.2.1378Bram Moolenaar
Problem: Cannot put space between function name and paren. Solution: Allow this for backwards compatibility.
2020-08-04patch 8.2.1361: error for white space after expression in assignmentv8.2.1361Bram Moolenaar
Problem: Error for white space after expression in assignment. Solution: Skip over white space. (closes #6617)
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2020-06-27patch 8.2.1067: expression "!expr->func()" does not workv8.2.1067Bram Moolenaar
Problem: Expression "!expr->func()" does not work. Solution: Apply plus and minus earlier. (closes #6348)
2020-04-26patch 8.2.0644: insufficient testing for invalid function argumentsv8.2.0644Bram Moolenaar
Problem: Insufficient testing for invalid function arguments. Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
2020-04-25patch 8.2.0634: crash with null partial and blobv8.2.0634Bram Moolenaar
Problem: Crash with null partial and blob. Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, closes #5984)
2020-04-24patch 8.2.0633: crash when using null partial in filter()v8.2.0633Bram Moolenaar
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
2020-04-23patch 8.2.0619: null dict is not handled like an empty dictv8.2.0619Bram Moolenaar
Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
2020-04-20patch 8.2.0610: some tests are still old stylev8.2.0610Bram Moolenaar
Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
2020-04-13patch 8.2.0576: some errors are not covered by testsv8.2.0576Bram Moolenaar
Problem: Some errors are not covered by tests. Solution: Add a few more tests. (Dominique Pelle, closes #5920)
2020-04-11patch 8.2.0540: regexp and other code not testedv8.2.0540Bram Moolenaar
Problem: Regexp and other code not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
2020-04-06patch 8.2.0522: several errors are not tested forv8.2.0522Bram Moolenaar
Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
2020-03-25patch 8.2.0448: various functions not properly testedv8.2.0448Bram Moolenaar
Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)