Bram Moolenaar
32e351179e
patch 8.2.0753: Vim9: expressions are evaluated in the discovery phase
...
Problem: Vim9: expressions are evaluated in the discovery phase.
Solution: Bail out if an expression is not a constant. Require a type for
declared constants.
2020-05-14 22:41:15 +02:00
Bram Moolenaar
7e5bd91dc9
patch 8.2.0731: Vim9: parsing declarations continues after :finish
...
Problem: Vim9: parsing declarations continues after :finish.
Solution: Bail out when encountering :finish.
2020-05-10 21:20:29 +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
89483d4043
patch 8.2.0729: Vim9: When reloading a script variables are not cleared
...
Problem: Vim9: When reloading a script variables are not cleared.
Solution: When sourcing a script again clear all script-local variables.
2020-05-10 15:24:44 +02:00
Bram Moolenaar
396f3138ca
patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested
...
Problem: Vim9: appending to buffer/window/tab variable not tested
Solution: Add a test.
2020-05-09 18:44:56 +02:00
Bram Moolenaar
8a1c101315
patch 8.2.0706: Vim9: using assert_fails() causes function to finish
...
Problem: Vim9: using assert_fails() causes function to finish.
Solution: Check did_emsg instead of called_emsg.
2020-05-07 14:07:25 +02:00
Bram Moolenaar
2a1381c305
patch 8.2.0701: Vim9 test fails without job feature
...
Problem: Vim9 test fails without job feature.
Solution: Add feature check.
2020-05-05 23:32:58 +02:00
Bram Moolenaar
40ee466c36
patch 8.2.0700: Vim9: converting error message to exception not tested
...
Problem: Vim9: converting error message to exception not tested.
Solution: Test exception from error. Do not continue after :echoerr.
2020-05-05 22:08:26 +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
03afdcf1f4
patch 8.2.0653: using uninitialized pointer
...
Problem: using uninitialized pointer.
Solution: Move assignment up. (John Marriott)
2020-04-27 23:39:30 +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
f93c7fea08
patch 8.2.0626: Vim9: wrong syntax of function in Vim9 script
...
Problem: Vim9: wrong syntax of function in Vim9 script.
Solution: Give error for missing space. Implement :echomsg and :echoerr.
(closes #5670 )
2020-04-23 22:16:53 +02:00
Bram Moolenaar
a72cfb80cd
patch 8.2.0624: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks. Fix :throw with double quoted string.
2020-04-23 17:07:30 +02:00
Bram Moolenaar
1966c24881
patch 8.2.0613: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 22:42:32 +02:00
Bram Moolenaar
2c5ed4e330
patch 8.2.0612: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 19:42:10 +02:00
Bram Moolenaar
faac410409
patch 8.2.0611: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 17:46:14 +02:00
Bram Moolenaar
7bdaea6e0d
patch 8.2.0605: Vim9: cannot unlet an environment variable
...
Problem: Vim9: cannot unlet an environment variable.
Solution: Implement unlet for $VAR.
2020-04-19 18:27:26 +02:00
Bram Moolenaar
d72c1bf0a6
patch 8.2.0601: Vim9: :unlet is not compiled
...
Problem: Vim9: :unlet is not compiled.
Solution: Implement :unlet instruction and check for errors.
2020-04-19 16:28:59 +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
a26b9700d7
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
...
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
2020-04-18 19:53:28 +02:00
Bram Moolenaar
4a8d9f2ed8
patch 8.2.0586: Vim9: # comment not sufficiently tested
...
Problem: Vim9: # comment not sufficiently tested
Solution: Check for preceding white space.
2020-04-16 22:54:32 +02:00
Bram Moolenaar
7a09224583
patch 8.2.0585: Vim9: # comment not recognized after :vim9script
...
Problem: Vim9: # comment not recognized after :vim9script.
Solution: Check script type. Make comment after ":echo" work. And in
several other places.
2020-04-16 22:10:49 +02:00
Bram Moolenaar
cb711abf0f
patch 8.2.0583: Vim9: # comment not recognized in :def function
...
Problem: Vim9: # comment not recognized in :def function.
Solution: Recognize and skip # comment.
2020-04-16 13:00:29 +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
2c330432cf
patch 8.2.0567: Vim9: cannot put comments halfway expressions
...
Problem: Vim9: cannot put comments halfway expressions.
Solution: Support # comments in many places.
2020-04-13 14:41:35 +02:00
Bram Moolenaar
675f716efb
patch 8.2.0565: Vim9: tests contain superfluous line continuation
...
Problem: Vim9: tests contain superfluous line continuation.
Solution: Remove line continuation no longer needed. Skip empty lines.
2020-04-12 22:53:54 +02:00
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
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
cab2767874
patch 8.2.0537: Vim9: no check for sandbox when setting v:var
...
Problem: Vim9: no check for sandbox when setting v:var.
Solution: Check for sandbox.
2020-04-09 20:10:55 +02:00
Bram Moolenaar
ee4e0c1e9a
patch 8.2.0522: several errors are not tested for
...
Problem: Several errors are not tested for.
Solution: Add tests. (Yegappan Lakshmanan, closes #5892 )
2020-04-06 21:35:05 +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
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
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