Bram Moolenaar
e6085c5350
patch 8.2.0561: Vim9: cannot split function call in multiple lines
...
Problem: Vim9: cannot split function call in multiple lines.
Solution: Find more arguments in following lines.
2020-04-12 20:19:16 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
82de464f76
patch 8.2.0558: Vim9: dict code not covered by tests
...
Problem: Vim9: dict code not covered by tests.
Solution: Remove dead code, adjust test case.
2020-04-12 18:02:06 +02:00
Bram Moolenaar
c5f1ef53c2
patch 8.2.0556: Vim9: memory leak when finding common type
...
Problem: Vim9: memory leak when finding common type.
Solution: Store allocated memory in type growarray.
2020-04-12 17:11:27 +02:00
Bram Moolenaar
4fdae9996f
patch 8.2.0555: Vim9: line continuation is not always needed
...
Problem: Vim9: line continuation is not always needed.
Solution: Recognize continuation lines automatically in list and dict.
2020-04-12 16:38:57 +02:00
Bram Moolenaar
99aaf0ce7c
patch 8.2.0552: Vim9: some errors not covered by tests
...
Problem: Vim9: some errors not covered by tests.
Solution: Add more tests. Check Funcref argument types.
2020-04-12 14:39:53 +02:00
Bram Moolenaar
08938eeba4
patch 8.2.0548: Vim9: not all possible func type errors tested
...
Problem: Vim9: not all possible func type errors tested.
Solution: Add more tests.
2020-04-11 23:17:17 +02:00
Bram Moolenaar
fe27081724
patch 8.2.0546: Vim9: varargs implementation is inefficient
...
Problem: Vim9: varargs implementation is inefficient.
Solution: Create list without moving the arguments.
2020-04-11 22:31:27 +02:00
Bram Moolenaar
1378fbc459
patch 8.2.0543: Vim9: function with varargs does not work properly
...
Problem: Vim9: function with varargs does not work properly.
Solution: Improve function type spec and add tests. Fix bugs.
2020-04-11 20:50:33 +02:00
Bram Moolenaar
9c8bb7c0e2
patch 8.2.0538: Vim9: VAR_PARTIAL is not used during compilation
...
Problem: Vim9: VAR_PARTIAL is not used during compilation.
Solution: Remove VAR_PARTIAL.
2020-04-09 21:08:09 +02:00
Bram Moolenaar
5da356e073
patch 8.2.0536: Vim9: some compilation code not tested
...
Problem: Vim9: some compilation code not tested.
Solution: Add more test cases.
2020-04-09 19:34:43 +02:00
Bram Moolenaar
49cf7cc8d2
patch 8.2.0529: Vim9: function argument with default not checked
...
Problem: Vim9: function argument with default not checked.
Solution: Check type of argument with default value.
2020-04-07 22:45:00 +02:00
Bram Moolenaar
0b76b42d0a
patch 8.2.0528: Vim9: function arguments insufficiently tested
...
Problem: Vim9: function arguments insufficiently tested.
Solution: Check types. Add more tests. Fix function with varargs only.
2020-04-07 22:05:08 +02:00
Bram Moolenaar
ec5929d0fe
patch 8.2.0527: Vim9: function types insufficiently tested
...
Problem: Vim9: function types insufficiently tested.
Solution: Add more tests. Fix white space check. Add "test_vim9" target.
2020-04-07 20:53:39 +02:00
Bram Moolenaar
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +02:00
Bram Moolenaar
8922860afb
patch 8.2.0519: Vim9: return type not properly checked
...
Problem: Vim9: return type not properly checked.
Solution: Check type properly, also at runtime.
2020-04-05 22:14:54 +02:00
Bram Moolenaar
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
Bram Moolenaar
b8ed3aa9e7
patch 8.2.0515: some compilers cannot add to "void *"
...
Problem: Some compilers cannot add to "void *".
Solution: Cast to "char *".
2020-04-05 19:09:05 +02:00
Bram Moolenaar
5d905c2b96
patch 8.2.0513: reading past allocate memory when using varargs
...
Problem: Reading past allocate memory when using varargs.
Solution: Fix copying function argument types.
2020-04-05 18:20:45 +02:00
Bram Moolenaar
5deeb3f1f9
patch 8.2.0512: Vim9: no optional arguments in func type
...
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
2020-04-05 17:08:17 +02:00
Bram Moolenaar
d77a8525d5
patch 8.2.0508: Vim9: func and partial types not done yet
...
Problem: Vim9: func and partial types not done yet
Solution: Fill in details about func declaration, drop a separate partial
declaration.
2020-04-03 21:59:57 +02:00
Bram Moolenaar
3cca299520
patch 8.2.0504: Vim9: leaking scope memory when compilation fails
...
Problem: Vim9: leaking scope memory when compilation fails.
Solution: Cleanup the scope list.
2020-04-02 22:57:36 +02:00
Bram Moolenaar
585fea7b98
patch 8.2.0503: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add tests. Fix uncovered problems.
2020-04-02 22:33:21 +02:00
Bram Moolenaar
e8c4abbbd7
patch 8.2.0502: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
2020-04-02 21:13:25 +02:00
Bram Moolenaar
4227c789ff
patch 8.2.0498: Coverity complains about uninitialized field
...
Problem: Coverity complains about uninitialized field.
Solution: Initialize the whole typval_T.
2020-04-02 16:00:04 +02:00
Bram Moolenaar
80c34ca312
patch 8.2.0495: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add more tests. Support more const expressions.
2020-04-01 23:05:18 +02:00
Bram Moolenaar
ea94fbe83b
patch 8.2.0494: Vim9: asan error
...
Problem: Vim9: asan error.
Solution: Only get the type when there is one.
2020-04-01 22:36:49 +02:00
Bram Moolenaar
e69f6d044c
patch 8.2.0493: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
2020-04-01 22:11:01 +02:00
Bram Moolenaar
a8c1770469
patch 8.2.0492: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Remove dead code. Fix uncovered bugs.
2020-04-01 21:17:24 +02:00
Bram Moolenaar
25b70c780a
patch 8.2.0489: Vim9: memory leaks
...
Problem: Vim9: memory leaks.
Solution: Free memory in the right place. Add hints for using asan.
2020-04-01 16:34:17 +02:00
Bram Moolenaar
05afceeddc
patch 8.2.0488: Vim9: compiling can break when using a lambda inside :def
...
Problem: Vim9: Compiling can break when using a lambda inside :def.
Solution: Do not keep a pointer to the dfunc_T for longer time.
2020-03-31 23:32:31 +02:00
Bram Moolenaar
bd5da371aa
patch 8.2.0487: Vim9: compiling not sufficiently tested
...
Problem: Vim9: compiling not sufficiently tested.
Solution: Add more tests. Fix bug with PCALL.
2020-03-31 23:13:10 +02:00
Bram Moolenaar
9be61bbb17
patch 8.2.0486: Vim9: some code and error messages not tested
...
Problem: Vim9: some code and error messages not tested.
Solution: Add more tests.
2020-03-30 22:51:24 +02:00
Bram Moolenaar
01b3862956
patch 8.2.0485: Vim9 script test fails
...
Problem: Vim9 script test fails.
Solution: Stricter condition for adding new local variable.
2020-03-30 21:28:39 +02:00
Bram Moolenaar
d25ec2cfa0
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error
...
Problem: Vim9: "let x = x + 1" does not give an error.
Solution: Hide the variable when compiling the expression.
2020-03-30 21:05:45 +02:00
Bram Moolenaar
0b37a2f379
patch 8.2.0480: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests.
2020-03-29 21:38:15 +02:00
Bram Moolenaar
a30590d3e7
patch 8.2.0471: missing change to compile_list()
...
Problem: Missing change to compile_list().
Solution: Add error message.
2020-03-28 22:06:23 +01:00
Bram Moolenaar
33fa29cf74
patch 8.2.0467: Vim9: some errors are not tested
...
Problem: Vim9: some errors are not tested
Solution: Add more tests. Fix that Vim9 script flag is not reset.
2020-03-28 19:41:33 +01:00
Bram Moolenaar
599c89c82f
patch 8.2.0465: Vim9: dead code and wrong return type
...
Problem: Vim9: dead code and wrong return type.
Solution: Remove dead code. Fix return type. Add more tests.
2020-03-28 14:53:20 +01:00
Bram Moolenaar
cf3f8bf4dd
patch 8.2.0449: Vim9: crash if return type is invalid
...
Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
Solution: Always return some type, not NULL.
2020-03-26 13:15:42 +01:00
Bram Moolenaar
db99f9f29a
patch 8.2.0436: no warnings for incorrect printf arguments
...
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834 )
2020-03-23 22:12:22 +01:00
Bram Moolenaar
20431c9dbb
patch 8.2.0419: various memory leaks in Vim9 script code
...
Problem: Various memory leaks in Vim9 script code.
Solution: Fix the leaks. (Ozaki Kiichi, closes #5814 )
2020-03-20 18:39:46 +01:00
Bram Moolenaar
5269bd2a72
patch 8.2.0368: Vim9: import that redefines local variable does not fail
...
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
2020-03-09 19:25:27 +01:00
Bram Moolenaar
a471eeae75
patch 8.2.0355: Vim9: str_val is confusing, it's a number
...
Problem: Vim9: str_val is confusing, it's a number
Solution: Rename to stnr_val.
2020-03-04 22:20:26 +01:00
Bram Moolenaar
080457c02d
patch 8.2.0350: Vim9: expression tests don't use recognized constants
...
Problem: Vim9: expression tests don't use recognized constants.
Solution: Recognize "true" and "false" as constants. Make skipping work for
assignment and expression evaluation.
2020-03-03 21:53:32 +01:00
Bram Moolenaar
5381c7a162
patch 8.2.0348: Vim9: not all code tested
...
Problem: Vim9: not all code tested.
Solution: Add a few more tests. fix using "b:" in literal dictionary.
2020-03-02 22:53:32 +01:00
Bram Moolenaar
61a6d4e48b
patch 8.2.0346: Vim9: finding common list type not tested
...
Problem: Vim9: finding common list type not tested.
Solution: Add more tests. Fix listing function. Fix overwriting type.
2020-03-01 23:32:25 +01:00
Bram Moolenaar
f51cb4e08e
patch 8.2.0343: Vim9: using wrong instruction, limited test coverage
...
Problem: Vim9: using wrong instruction, limited test coverage.
Solution: Use ISN_PUSHJOB. Add a few more tests.
2020-03-01 17:55:14 +01:00
Bram Moolenaar
087d2e1518
patch 8.2.0340: Vim9: function and partial types not tested
...
Problem: Vim9: function and partial types not tested.
Solution: Support more for partial, add tests.
2020-03-01 15:36:42 +01:00
Bram Moolenaar
fbdd08ed9b
patch 8.2.0339: Vim9: function return type may depend on arguments
...
Problem: Vim9: function return type may depend on arguments.
Solution: Instead of a fixed return type use a function to figure out the
return type.
2020-03-01 14:04:46 +01:00