summaryrefslogtreecommitdiff
path: root/src/testdir/test_lambda.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar2020-09-041-1/+1
| | | | | Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
* patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar2020-08-121-3/+3
| | | | | | | Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
* patch 8.2.0522: several errors are not tested forv8.2.0522Bram Moolenaar2020-04-061-0/+16
| | | | | Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
* patch 8.2.0469: Vim9: no error for missing ] after listv8.2.0469Bram Moolenaar2020-03-281-1/+1
| | | | | Problem: Vim9: no error for missing ] after list. Solution: Add error message. Add more tests.
* patch 8.2.0418: code in eval.c not sufficiently covered by testsv8.2.0418Bram Moolenaar2020-03-201-0/+3
| | | | | Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
* patch 8.2.0183: tests fail when the float feature is disabledv8.2.0183Bram Moolenaar2020-01-301-1/+3
| | | | | Problem: Tests fail when the float feature is disabled. Solution: Skip tests that don't work without float support.
* patch 8.1.2412: crash when evaluating expression with errorv8.1.2412Bram Moolenaar2019-12-081-0/+5
| | | | | Problem: Crash when evaluating expression with error. (Dhiraj Mishra) Solution: Check parsing failed. (closes #5329)
* patch 8.1.1738: testing lambda with timer is slowv8.1.1738Bram Moolenaar2019-07-241-7/+19
| | | | | | Problem: Testing lambda with timer is slow. Solution: Do not test timer accuracy, only that it works. (Daniel Hahler, closes #4723)
* patch 8.1.0736: code for Blob not sufficiently testedv8.1.0736Bram Moolenaar2019-01-131-2/+2
| | | | | Problem: Code for Blob not sufficiently tested. Solution: Add more tests. Fix uncovered crash. Add test_null_blob().
* patch 8.1.0711: test files still use function!v8.1.0711Bram Moolenaar2019-01-091-82/+82
| | | | | Problem: Test files still use function!. Solution: Remove the exclamation mark. Fix overwriting a function.
* patch 8.1.0019: error when defining a Lambda with index of a function resultv8.1.0019Bram Moolenaar2018-05-221-0/+6
| | | | | | Problem: Error when defining a Lambda with index of a function result. Solution: When not evaluating an expression and skipping a function call, set the return value to VAR_UNKNOWN.
* patch 7.4.2143v7.4.2143Bram Moolenaar2016-08-011-0/+14
| | | | | | Problem: A funccal is garbage collected while it can still be used. Solution: Set copyID in all referenced functions. Do not list lambda functions with ":function".
* patch 7.4.2139v7.4.2139Bram Moolenaar2016-08-011-3/+2
| | | | | Problem: :delfunction causes illegal memory access. Solution: Correct logic when deciding to free a function.
* patch 7.4.2137v7.4.2137Bram Moolenaar2016-08-011-1/+1
| | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
* patch 7.4.2136v7.4.2136Bram Moolenaar2016-07-311-0/+24
| | | | | Problem: Closure function fails. Solution: Don't reset uf_scoped when it points to another funccal.
* patch 7.4.2121v7.4.2121Bram Moolenaar2016-07-291-0/+4
| | | | | Problem: No easy way to check if lambda and closure are supported. Solution: Add the +lambda feature.
* patch 7.4.2120v7.4.2120Bram Moolenaar2016-07-291-1/+35
| | | | | | Problem: User defined functions can't be a closure. Solution: Add the "closure" argument. Allow using :unlet on a bound variable. (Yasuhiro Matsumoto, Ken Takata)
* patch 7.4.2119v7.4.2119Bram Moolenaar2016-07-291-1/+159
| | | | | | Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata)
* patch 7.4.2076v7.4.2076Bram Moolenaar2016-07-191-0/+5
| | | | | Problem: Syntax error when dict has '>' key. Solution: Check for endchar. (Ken Takata)
* patch 7.4.2044v7.4.2044Bram Moolenaar2016-07-151-0/+48
Problem: filter() and map() either require a string or defining a function. Solution: Support lambda, a short way to define a function that evaluates an expression. (Yasuhiro Matsumoto, Ken Takata)