Bram Moolenaar
e55b1c098d
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
...
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
2020-06-21 15:52:59 +02:00
Bram Moolenaar
a3b7fdc1bb
patch 8.2.1026: Vim9: cannot break the line after "->"
...
Problem: Vim9: cannot break the line after "->".
Solution: Check for a continuation line after "->", "[" and ".". Ignore
trailing white space.
2020-06-21 14:12:17 +02:00
Bram Moolenaar
c785b9a7f4
patch 8.2.1011: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
2020-06-19 18:34:15 +02:00
Bram Moolenaar
66b3101672
patch 8.2.0789: Vim9: expression testing lost coverage using constants
...
Problem: Vim9: expression testing lost coverage using constants.
Solution: Use a few variables instead of constants.
2020-05-18 13:38:02 +02:00
Bram Moolenaar
4aeeb63938
patch 8.2.0761: Vim9: instructions not tested
...
Problem: Vim9: instructions not tested
Solution: Use a variable instead of a constant.
2020-05-15 22:01:57 +02:00
Bram Moolenaar
4dac32caf3
patch 8.2.0760: Vim9: dict member errors not tested
...
Problem: Vim9: dict member errors not tested.
Solution: Delete unreachable error. Add tests.
2020-05-15 21:44:19 +02:00
Bram Moolenaar
1cc2a94f80
patch 8.2.0730: Vim9: Assignment to dict member does not work
...
Problem: Vim9: Assignment to dict member does not work.
Solution: Parse dict assignment. Implement getting dict member.
2020-05-10 19:10:31 +02:00
Bram Moolenaar
a5565e4189
patch 8.2.0719: Vim9: more expressions can be evaluated at compile time
...
Problem: Vim9: more expressions can be evaluated at compile time
Solution: Recognize has('name').
2020-05-09 15:44:01 +02:00
Bram Moolenaar
f0eefce93b
patch 8.2.0714: Vim9: handling constant expression does not scale
...
Problem: Vim9: handling constant expression does not scale.
Solution: Use another solution, passint typval_T.
2020-05-07 22:19:01 +02:00
Bram Moolenaar
61a8981699
patch 8.2.0708: Vim9: constant expressions are not simplified
...
Problem: Vim9: constant expressions are not simplified.
Solution: Simplify string concatenation.
2020-05-07 16:58:17 +02:00
Bram Moolenaar
015f4267f4
patch 8.2.0699: Vim9: not all errors tested
...
Problem: Vim9: not all errors tested.
Solution: Add test for deleted function. Bail out on first error.
2020-05-05 21:25:22 +02:00
Bram Moolenaar
939b5db480
patch 8.2.0659: Vim9: no test for equal func type
...
Problem: Vim9: no test for equal func type.
Solution: Add a test. Improve type check.
2020-04-28 22:49:08 +02:00
Bram Moolenaar
a0a9f43ab2
patch 8.2.0657: Vim9: no check if called variable is a FuncRef
...
Problem: Vim9: no check if called variable is a FuncRef.
Solution: Add a type check.
2020-04-28 21:29:34 +02:00
Bram Moolenaar
4c17ad94ec
patch 8.2.0650: Vim9: script function can be deleted
...
Problem: Vim9: script function can be deleted.
Solution: Disallow deleting script function. Delete functions when sourcing
a script again.
2020-04-27 22:47:51 +02:00
Bram Moolenaar
cfe435d7fe
patch 8.2.0640: Vim9: expanding does not work
...
Problem: Vim9: expanding does not work.
Solution: Find wildcards in not compiled commands. Reorganize test files.
2020-04-25 20:02:55 +02:00
Bram Moolenaar
d3aac2917d
patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables
...
Problem: Vim9: cannot read or write w:, t: and b: variables.
Solution: Implement load and store for w:, t: and b: variables.
(closes #5950 )
2020-04-19 14:32:17 +02:00
Bram Moolenaar
6e949784be
patch 8.2.0570: Vim9: no error when omitting type from argument
...
Problem: Vim9: no error when omitting type from argument.
Solution: Enforce specifying argument types.
2020-04-13 17:21:00 +02:00
Bram Moolenaar
9c7e6dd653
patch 8.2.0562: Vim9: cannot split an expression into multiple lines
...
Problem: Vim9: cannot split an expression into multiple lines.
Solution: Continue in next line after an operator.
2020-04-12 20:55:20 +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
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
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
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
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
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
92dba36fc8
patch 8.2.0484: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests.
2020-03-30 21:22:56 +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
c58164c5cf
patch 8.2.0477: Vim9: error messages not tested
...
Problem: Vim9: error messages not tested.
Solution: Add more tests.
2020-03-29 18:40:30 +02:00
Bram Moolenaar
ee619e5bc0
patch 8.2.0469: Vim9: no error for missing ] after list
...
Problem: Vim9: no error for missing ] after list.
Solution: Add error message. Add more tests.
2020-03-28 21:38:06 +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
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
42a480bf72
patch 8.2.0336: Vim9: insufficient test coverage for compiling
...
Problem: Vim9: insufficient test coverage for compiling.
Solution: Add more tests.
2020-02-29 23:23:47 +01:00
Bram Moolenaar
0c2ca58ef0
patch 8.2.0318: Vim9: types not sufficiently tested
...
Problem: Vim9: types not sufficiently tested.
Solution: Add tests with more types.
2020-02-25 22:58:29 +01:00
Bram Moolenaar
b4d2cb1083
patch 8.2.0300: Vim9: expression test fails without channel support
...
Problem: Vim9: expression test fails without channel support.
Solution: Add has('channel') check.
2020-02-22 20:33:08 +01:00
Bram Moolenaar
8ed04587d3
patch 8.2.0299: Vim9: ISN_STORE with argument not tested
...
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
not tested.
Solution: Add tests. Add test_unknown() and test_void().
2020-02-22 19:07:28 +01:00
Bram Moolenaar
09f28f49c9
patch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested
...
Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
Solution: Add tests.
2020-02-20 23:08:34 +01:00
Bram Moolenaar
0062c2d4f9
patch 8.2.0288: Vim9: some float and blob operators not tested
...
Problem: Vim9: some float and blob operators not tested.
Solution: Add float and blob tests. Fix addition.
2020-02-20 22:14:31 +01:00
Bram Moolenaar
fd1823e0b7
patch 8.2.0283: Vim9: failing to load script var not tested
...
Problem: Vim9: failing to load script var not tested.
Solution: Add more tests. Fix using s: in old script.
2020-02-19 20:23:11 +01:00
Bram Moolenaar
401d9ffb5a
patch 8.2.0282: Vim9: setting number option not tested
...
Problem: Vim9: setting number option not tested.
Solution: Add more tests. Fix assigning to global variable.
2020-02-19 18:14:44 +01:00
Bram Moolenaar
38a5f517a7
patch 8.2.0276: Vim9: not allowing space before ")" in function call
...
Problem: Vim9: not allowing space before ")" in function call is too
restrictive. (Ben Jackson)
Solution: Skip space before the ")". Adjust other space checks.
2020-02-19 12:40:39 +01:00
Bram Moolenaar
b13af50f73
patch 8.2.0269: Vim9: operator after list index does not work
...
Problem: Vim9: operator after list index does not work. (Yasuhiro
Matsumoto)
Solution: After indexing a list change the type to the list member type.
(closes #5651 )
2020-02-17 21:12:08 +01:00
Bram Moolenaar
7f829cab35
patch 8.2.0188: Check commands don't work well with Vim9 script
...
Problem: Check commands don't work well with Vim9 script.
Solution: Improve constant expression handling.
2020-01-31 22:12:41 +01:00
Bram Moolenaar
5feabe00c4
patch 8.2.0183: tests fail when the float feature is disabled
...
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
2020-01-30 18:24:53 +01:00
Bram Moolenaar
97a2af39cd
patch 8.2.0168: Coverity warning for assigning NULL to an option
...
Problem: Coverity warning for assigning NULL to an option.
Solution: Use empty string instead of NULL.
2020-01-28 22:52:48 +01:00
Bram Moolenaar
58ceca5cae
patch 8.2.0167: Coverity warning for ignoring return value
...
Problem: Coverity warning for ignoring return value.
Solution: Check the return value and jump if failed.
2020-01-28 22:46:22 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00