Bram Moolenaar
2c869deeb7
patch 8.2.0501: Vim9: script test fails when channel feature is missing
...
Problem: Vim9: script test fails when channel feature is missing.
Solution: Add a has() condition.
2020-04-02 19:12:08 +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
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
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
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
7d941ee032
patch 8.2.0450: not enough testing for restricted mode and function calls
...
Problem: Not enough testing for restricted mode and function calls.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5847 )
2020-03-26 14:11:58 +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
97acfc781b
patch 8.2.0424: checking for wrong return value
...
Problem: Checking for wrong return value. (Tom)
Solution: Invert the check and fix the test.
2020-03-22 13:44:28 +01:00
Bram Moolenaar
9645e2d9fc
patch 8.2.0421: interrupting with CTRL-C does not always work
...
Problem: Interrupting with CTRL-C does not always work.
Solution: Recognize CTRL-C while modifyOtherKeys is set.
2020-03-20 20:48:49 +01:00
Bram Moolenaar
f1ec378b01
patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C
...
Problem: Vim9: cannot interrupt a loop with CTRL-C.
Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2020-03-20 19:37:47 +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
d0df1aacd8
patch 8.2.0353: Vim9: while loop not tested
...
Problem: Vim9: while loop not tested.
Solution: Add test with "while", "break" and "continue"
2020-03-04 21:50:46 +01:00
Bram Moolenaar
6d69bf602b
patch 8.2.0349: Vim9: constant expression not well tested
...
Problem: Vim9: constant expression not well tested.
Solution: Add tests for "if" with constant expression.
2020-03-03 19:02:12 +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
41fe061753
patch 8.2.0341: using ":for" in Vim9 script gives an error
...
Problem: Using ":for" in Vim9 script gives an error.
Solution: Pass the LET_NO_COMMAND flag. (closes #5715 )
2020-03-01 16:22:40 +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
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
7eeefd4a39
patch 8.2.0323: Vim9: calling a function that is defined later is slow
...
Problem: Vim9: calling a function that is defined later is slow.
Solution: Once the function is found update the instruction so it can be
called directly.
2020-02-26 21:24:23 +01:00
Bram Moolenaar
b35efa5ed0
patch 8.2.0322: Vim9: error checks not tested
...
Problem: Vim9: error checks not tested.
Solution: Add more test cases. Avoid error for function loaded later.
2020-02-26 20:15:18 +01:00
Bram Moolenaar
ad39c094d2
patch 8.2.0321: Vim9: ":execute" does not work yet
...
Problem: Vim9: ":execute" does not work yet.
Solution: Add ISN_EXECUTE. (closes #5699 ) Also make :echo work with more
than one argument.
2020-02-26 18:23:43 +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
fa29c8abd6
patch 8.2.0313: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add tests. Make import of alphanumeric name work.
2020-02-23 22:35:05 +01:00
Bram Moolenaar
f2d5c240a5
patch 8.2.0312: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add more tests. Make "import * as Name" work.
2020-02-23 21:25:54 +01:00
Bram Moolenaar
750802b55c
patch 8.2.0311: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add tests. Free imports when re-using a script.
2020-02-23 18:08:33 +01:00
Bram Moolenaar
83f37b9142
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script
...
Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution: Remember starting with a colon. (closes #5676 )
2020-02-23 14:35:01 +01:00
Bram Moolenaar
0c6ceaf903
patch 8.2.0298: Vim9 script: cannot start command with a string constant
...
Problem: Vim9 script: cannot start command with a string constant.
Solution: Recognize expression starting with '('.
2020-02-22 18:36:32 +01:00
Bram Moolenaar
5b1c8fe3d5
patch 8.2.0294: cannot use Ex command that is also a function name
...
Problem: Cannot use Ex command that is also a function name.
Solution: Recognize an Ex command by a colon prefix.
2020-02-21 18:42:43 +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
436472f5e0
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work
...
Problem: Vim9: assigning [] to list<string> doesn't work.
Solution: Use void for empty list and dict. (Ken Takata, closes #5669 )
2020-02-20 22:54:43 +01:00
Bram Moolenaar
f575adff06
patch 8.2.0287: Vim9: return in try block not tested; catch not tested
...
Problem: Vim9: return in try block not tested; catch with pattern not
tested.
Solution: Add tests. Make it work.
2020-02-20 20:41:06 +01:00
Bram Moolenaar
0bbf722aaa
patch 8.2.0285: unused error message; cannot create s:var
...
Problem: Unused error message. Cannot create s:var.
Solution: Remove the error message. Make assignment to s:var work.
2020-02-19 22:31:48 +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
257cc5ee95
patch 8.2.0280: Vim9: throw in :def function not caught higher up
...
Problem: Vim9: throw in :def function not caught higher up.
Solution: Set "need_rethrow".
2020-02-19 17:06:11 +01:00
Bram Moolenaar
63ce4849ef
patch 8.2.0279: Vim9: no test for deleted :def function
...
Problem: Vim9: no test for deleted :def function.
Solution: Add a test. Clear uf_cleared flag when redefining a function.
2020-02-19 15:46:48 +01:00
Bram Moolenaar
158906cffc
patch 8.2.0224: compiling :elseif not tested yet
...
Problem: compiling :elseif not tested yet.
Solution: Add test for :elseif. Fix generating jumps.
2020-02-06 20:39:45 +01:00
Bram Moolenaar
5cab73f8cc
patch 8.2.0223: some instructions not yet tested
...
Problem: Some instructions not yet tested.
Solution: Disassemble more instructions. Move tests to a new file. Compile
call to s:function().
2020-02-06 19:25:19 +01:00
Bram Moolenaar
170fcfcf25
patch 8.2.0222: Vim9: optional function arguments don't work yet
...
Problem: Vim9: optional function arguments don't work yet.
Solution: Implement optional function arguments.
2020-02-06 17:51:35 +01:00
Bram Moolenaar
6e587dcbf3
patch 8.2.0221: no test for Vim9 += and ..=
...
Problem: No test for Vim9 += and ..=.
Solution: Add tests.
2020-02-06 13:15:52 +01:00
Bram Moolenaar
0de50864a7
patch 8.2.0218: several Vim9 instructions are not tested
...
Problem: Several Vim9 instructions are not tested.
Solution: Add more tests.
2020-02-05 22:55:48 +01:00
Bram Moolenaar
ff80cb6807
patch 8.2.0216: several Vim9 instructions are not tested
...
Problem: Several Vim9 instructions are not tested.
Solution: Add more tests. Fix :disassamble output. Make catch with pattern
work.
2020-02-05 22:10:05 +01:00
Bram Moolenaar
bfe1204312
patch 8.2.0207: crash when missing member type on list argument
...
Problem: Crash when missing member type on list argument.
Solution: Check for invalid type. (closes #5572 )
2020-02-04 21:54:07 +01:00
Bram Moolenaar
26e117e9bc
patch 8.2.0206: calling Vim9 function using default argument fails
...
Problem: Calling Vim9 function using default argument fails.
Solution: Give an appropriate error. (closes #5572 )
2020-02-04 21:24:15 +01:00