Bram Moolenaar
755bf2b3d2
patch 9.0.1258: code style test fails
...
Problem: Code style test fails.
Solution: Adjust test files.
2023-01-28 19:38:49 +00:00
Bram Moolenaar
6342e2c5a6
patch 9.0.1050: using freed memory when assigning to variable twice
...
Problem: Using freed memory when assigning to variable twice.
Solution: Make copy of the list type. (closes #11691 )
2022-12-12 18:56:32 +00:00
Yee Cheng Chin
69a8bb8dc1
patch 9.0.0839: test may fail depending on sequence of events
...
Problem: Test may fail depending on sequence of events.
Solution: Accept error codes in either order. (Yee Cheng Chin,
closes #11510 )
2022-11-06 12:25:47 +00:00
dundargoc
c57b5bcd22
patch 9.0.0828: various typos
...
Problem: Various typos.
Solution: Correct typos. (closes #11432 )
2022-11-02 13:30:51 +00:00
Bram Moolenaar
2435adf8eb
patch 9.0.0811: error if :echowin is preceded by a command modifier
...
Problem: Error if :echowin is preceded by a command modifier.
Solution: Do not give an error for range when there is a modifier.
(closes #11414 )
2022-10-21 12:05:46 +01:00
Bram Moolenaar
3558afe9e9
patch 9.0.0742: reading past end of the line when compiling a function
...
Problem: Reading past end of the line when compiling a function with
errors.
Solution: Do not return an invalid pointer. Fix skipping redirection.
2022-10-13 16:12:57 +01:00
Bram Moolenaar
159b2d5bfc
patch 9.0.0726: looping over list of lists works in script, not in function
...
Problem: Looping over list of lists and changing the list contents works in
Vim9 script, not in a compiled function.
Solution: Mark the loop variable final instead of const. (closes #11347 )
2022-10-11 21:41:25 +01:00
Bram Moolenaar
a275f2cdcc
patch 9.0.0724: closure in compiled function gets same variable in block
...
Problem: Closure in compiled function gets same variable in block.
Solution: At the end of a block to not always reset the variable count.
(issue #11094 )
2022-10-11 20:04:09 +01:00
Bram Moolenaar
330d64d32c
patch 9.0.0703: failing check for argument type for const any
...
Problem: Failing check for argument type for const any.
Solution: Check for any type properly. (closes #11316 )
2022-10-09 12:55:33 +01:00
Bram Moolenaar
0089ce293f
patch 9.0.0695: failing check for dictionary type for const any
...
Problem: Failing check for dictionary type for const any.
Solution: Check for any type properly. (closes #11310 )
2022-10-08 14:39:36 +01:00
Bram Moolenaar
fa1039760e
patch 9.0.0623: error for modifying a const is not detected at compile time
...
Problem: Error for modifying a const is not detected at compile time.
Solution: Add TTFLAG_CONST and check for it in add() and extend().
2022-09-29 19:14:42 +01:00
Bram Moolenaar
e8e369a796
patch 9.0.0535: closure gets wrong value in for loop with two loop variables
...
Problem: Closure gets wrong value in for loop with two loop variables.
Solution: Correctly compute the number of loop variables to clear.
2022-09-21 18:59:14 +01:00
Bram Moolenaar
cc34181f99
patch 9.0.0502: a closure in a nested loop in a :def function does not work
...
Problem: A closure in a nested loop in a :def function does not work.
Solution: Use an array of loopvars, one per loop level.
2022-09-19 15:54:34 +01:00
Bram Moolenaar
dbbb02bc77
patch 9.0.0495: closure doesn't work properly in nested loop
...
Problem: Closure doesn't work properly in nested loop.
Solution: Save variables up to the outer loop.
2022-09-18 12:00:21 +01:00
Bram Moolenaar
0cdfb7ce46
patch 9.0.0485: in :def function all closures in loop get the same variables
...
Problem: In a :def function all closures in a loop get the same variables.
Solution: Make a copy of loop variables used in a closure.
2022-09-17 15:44:52 +01:00
Bram Moolenaar
dd674774bb
patch 9.0.0475: not using deferred delete in tests
...
Problem: Not using deferred delete in tests.
Solution: Use deferred delete more often.
2022-09-15 22:26:18 +01:00
Bram Moolenaar
766ae5b252
patch 9.0.0460: loop variable can't be found
...
Problem: Loop variable can't be found.
Solution: Adjust block_id of the loop variable each round.
2022-09-14 00:30:51 +01:00
Bram Moolenaar
353b68a991
patch 9.0.0459: Vim9: block in for loop doesn't behave like a code block
...
Problem: Vim9: block in for loop doesn't behave like a code block.
Solution: Use a new block ID for each loop at the script level.
2022-09-13 21:10:45 +01:00
Bram Moolenaar
9510d22463
patch 9.0.0444: trying to declare g:variable gives confusing error
...
Problem: Trying to declare g:variable gives confusing error.
Solution: Give a better error message. (closes #11108 )
2022-09-11 15:14:05 +01:00
Bram Moolenaar
b18b496997
patch 9.0.0363: common names in test files causes tests to be flaky
...
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
2022-09-02 21:55:50 +01:00
Bram Moolenaar
7d7ad7b2e8
patch 9.0.0350: :echowindow does not work in a compiled function
...
Problem: :echowindow does not work in a compiled function.
Solution: Handle the expression at compile time.
2022-09-01 16:00:53 +01:00
Bram Moolenaar
3b0d70f4ff
patch 9.0.0323: using common name in tests leads to flaky tests
...
Problem: Using common name in tests leads to flaky tests.
Solution: Rename files and directories to be more specific.
2022-08-29 22:31:20 +01:00
Bram Moolenaar
2984ed31d9
patch 9.0.0230: no error for comma missing in list in :def function
...
Problem: No error for comma missing in list in :def function.
Solution: Check for missing comma. (closes #10943 )
2022-08-20 14:51:17 +01:00
Bram Moolenaar
91c7cbfe31
patch 9.0.0225: using freed memory with multiple line breaks in expression
...
Problem: Using freed memory with multiple line breaks in expression.
Solution: Free eval_tofree later.
2022-08-18 13:28:31 +01:00
Bram Moolenaar
4875d6ab06
patch 9.0.0224: Using NULL pointer when skipping compiled code
...
Problem: Using NULL pointer when skipping compiled code.
Solution: Check for skipping.
2022-08-17 15:55:51 +01:00
Bram Moolenaar
3f74c0ab32
patch 9.0.0156: giving E1170 only in an expression is confusing
...
Problem: Giving E1170 only in an expression is confusing.
Solution: Give E1170 for any "#{ comment". (closes #10855 )
2022-08-06 18:12:06 +01:00
Bram Moolenaar
6809ff978a
patch 9.0.0079: error in autoload script not reported for 'foldexpr'
...
Problem: Error in autoload script not reported for 'foldexpr'.
Solution: Reset "emsg_off" when auto-loading a script. (closes #10685 )
2022-07-26 15:10:56 +01:00
Bram Moolenaar
bd3a9d2c94
patch 8.2.4973: Vim9: type error for list unpack mentions argument
...
Problem: Vim9: type error for list unpack mentions argument.
Solution: Mention variable. (close #10435 )
2022-05-17 16:12:39 +01:00
Bram Moolenaar
ec89223478
patch 8.2.4892: test failures because of changed error messages
...
Problem: Test failures because of changed error messages.
Solution: Adjust the exptected error messages.
2022-05-06 17:53:06 +01:00
Bram Moolenaar
f1d63b9cba
patch 8.2.4885: test fails with the job/channel feature
...
Problem: Test fails with the job/channel feature.
Solution: Move check for job/channel separately.
2022-05-06 13:37:42 +01:00
Bram Moolenaar
175913fb03
patch 8.2.4884: test fails without the job/channel feature
...
Problem: Test fails without the job/channel feature. (Dominique Pellé)
Solution: Add condition.
2022-05-06 13:27:08 +01:00
Bram Moolenaar
505ed0c38f
patch 8.2.4873: Vim9: using "else" differs from using "endif/if !cond"
...
Problem: Vim9: using "else" differs from using "endif/if !cond".
Solution: Leave the block and enter another one. (closes #10320 )
2022-05-05 17:02:46 +01:00
Bram Moolenaar
09d9421b67
patch 8.2.4871: Vim9: in :def function no error for misplaced range
...
Problem: Vim9: in :def function no error for using a range with a command
that does not accept one.
Solution: Check for the command to accept a range. (closes #10330 )
2022-05-05 15:20:03 +01:00
Bram Moolenaar
0395f88b84
patch 8.2.4864: Vim9: script test fails
...
Problem: Vim9: script test fails.
Solution: Remove "if" around declaration.
2022-05-04 17:29:15 +01:00
Bram Moolenaar
c9af617ac6
patch 8.2.4863: accessing freed memory in test without the +channel feature
...
Problem: Accessing freed memory in test without the +channel feature.
(Dominique Pellé)
Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
implemented. (closes #10350 )
2022-05-04 16:46:54 +01:00
Bram Moolenaar
23d44493f1
patch 8.2.4862: Vim9: test may fail when run with valgrind
...
Problem: Vim9: test may fail when run with valgrind.
Solution: Wait longer for callback if needed.
2022-05-04 16:24:57 +01:00
LemonBoy
a5d3590505
patch 8.2.4847: crash when using uninitialized function pointer
...
Problem: Crash when using uninitialized function pointer.
Solution: Check for NULL pointer. (closes #10319 , closes #10319 )
2022-04-29 21:15:02 +01:00
Bram Moolenaar
95e4dd813a
patch 8.2.4835: Vim9: some lines not covered by tests
...
Problem: Vim9: some lines not covered by tests.
Solution: Add a few more tests. Fix disassemble output.
2022-04-27 22:15:40 +01:00
Yegappan Lakshmanan
885de449c0
patch 8.2.4809: various things no6 properly tested
...
Problem: Various things no6 properly tested.
Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259 )
2022-04-23 10:51:14 +01:00
Bram Moolenaar
1061195057
patch 8.2.4678: Vim9: not all code is tested
...
Problem: Vim9: not all code is tested.
Solution: Add a few more tests.
2022-04-03 21:11:34 +01:00
Bram Moolenaar
fa010cdfb1
patch 8.2.4675: no error for missing expression after :elseif
...
Problem: No error for missing expression after :elseif. (Ernie Rael)
Solution: Check for missing expression. (closes #10068 )
2022-04-03 16:13:07 +01:00
Bram Moolenaar
97f8c1081e
patch 8.2.4666: Vim9: assignment not recognized in skipped block
...
Problem: Vim9: assignment not recognized in skipped block.
Solution: When skipping assume identifier exists. (closes #10059 )
2022-04-02 19:43:57 +01:00
Bram Moolenaar
43216611a5
patch 8.2.4622: Vim9: crash with :execute and :finish
...
Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
Solution: Check for NULL. (closes #10011 )
2022-03-25 11:16:28 +00:00
Bram Moolenaar
397a87ac1c
patch 8.2.4602: Vim9: not enough test coverage for executing :def function
...
Problem: Vim9: not enough test coverage for executing :def function.
Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
2022-03-20 21:14:15 +00:00
Bram Moolenaar
efd73ae5d2
patch 8.2.4601: Vim9: not enough test coverage for executing :def function
...
Problem: Vim9: not enough test coverage for executing :def function.
Solution: Add a few more tests.
2022-03-20 18:51:00 +00:00
Bram Moolenaar
61efa16932
patch 8.2.4587: Vim9: double free after unpacking a list
...
Problem: Vim9: double free after unpacking a list.
Solution: Make a copy of the value instead of moving it. (closes #9968 )
2022-03-18 13:10:48 +00:00
Bram Moolenaar
4f6e772c9c
patch 8.2.4583: screendump test fails
...
Problem: Screendump test fails.
Solution: Check that making a screendump is possible.
2022-03-16 20:26:02 +00:00
Bram Moolenaar
4c8b546da2
patch 8.2.4582: useless code handling a type declaration
...
Problem: Useless code handling a type declaration.
Solution: Remove the code and give an error.
2022-03-16 20:01:39 +00:00
Bram Moolenaar
48f69cdfa4
patch 8.2.4574: Vim9: test for profiling fails
...
Problem: Vim9: test for profiling fails.
Solution: Mark function for profiling earlier to avoid E1271.
2022-03-15 16:16:47 +00:00
Bram Moolenaar
129e33e44b
patch 8.2.4564: running test leaves file behind
...
Problem: Running test leaves file behind. (Dominique Pellé)
Solution: Run the profiling in a separate Vim instance. (closes #9952 )
2022-03-14 10:50:23 +00:00