Bram Moolenaar
a97c36310f
patch 8.2.3006: crash when echoing a value very early
...
Problem: Crash when echoing a value very early. (Naruhiko Nishino)
Solution: Do not use a NUL to truncate the message, make a copy.
(closes #8388 )
2021-06-15 22:39:11 +02:00
Bram Moolenaar
f57b43c230
patch 8.2.3005: Vim9: using a void value does not give a proper error message
...
Problem: Vim9: using a void value does not give a proper error message.
Solution: Give a clear error message. (clodes #8387 )
2021-06-15 22:13:27 +02:00
Bram Moolenaar
8ac681a280
patch 8.2.3004: Vim9: error for missing colon given while skipping
...
Problem: Vim9: error for missing colon given while skipping.
Solution: Do not give the error when skipping. (closes #8385 )
2021-06-15 20:06:34 +02:00
Bram Moolenaar
968a5b62ff
patch 8.2.3003: Vim9: closure compiled with wrong compile type
...
Problem: Vim9: closure compiled with wrong compile type.
Solution: Use COMPILE_TYPE() when calling a function. (closes #8384 )
2021-06-15 19:32:40 +02:00
Bram Moolenaar
26d711645c
patch 8.2.2997: Vim9: disassemble test fails
...
Problem: Vim9: disassemble test fails.
Solution: Adjust expected output.
2021-06-14 21:08:56 +02:00
Bram Moolenaar
b69c6fb7b4
patch 8.2.2996: Vim9: when debugging cannot inspect local variables
...
Problem: Vim9: when debugging cannot inspect local variables.
Solution: Make local variables available when debugging.
2021-06-14 20:40:37 +02:00
Yegappan Lakshmanan
2d6d718dde
patch 8.2.2994: various code is not fully tested
...
Problem: Various code is not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378 )
2021-06-13 21:52:48 +02:00
Bram Moolenaar
5ffefbb35a
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'
...
Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
Johnson)
Solution: When 'encoding' is "utf-8" use a different default value for
'fileencodings'.
2021-06-13 20:27:36 +02:00
Bram Moolenaar
4ee9d8e04d
patch 8.2.2992: Vim9: completion for :disassemble is incomplete
...
Problem: Vim9: completion for :disassemble is incomplete.
Solution: Recognize the "debug" and "profile" arguments.
2021-06-13 18:38:48 +02:00
Bram Moolenaar
e70e12b32f
patch 8.2.2991: Vim9: no completion for :vim9 and :legacy
...
Problem: Vim9: no completion for :vim9 and :legacy.
Solution: Expand argument as a command. (closes #8377 )
2021-06-13 17:20:08 +02:00
kompowiec2
2e66b0d137
patch 8.2.2990: Jupyter Notebook files are not recognized
...
Problem: Jupyter Notebook files are not recognized.
Solution: Recognize *.ipynb. (closes #8375 )
2021-06-13 17:03:06 +02:00
Bram Moolenaar
e99d422bbd
patch 8.2.2985: Vim9: a compiled function cannot be debugged
...
Problem: Vim9: a compiled function cannot be debugged.
Solution: Add initial debugging support.
2021-06-13 14:01:26 +02:00
Bram Moolenaar
a993153538
patch 8.2.2983: Vim9: an inline function requires specifying the return type
...
Problem: Vim9: an inline function requires specifying the return type.
Solution: Make the return type optional.
2021-06-12 15:58:16 +02:00
Bram Moolenaar
7423577180
patch 8.2.2982: Vim9: future commands are not reserved yet
...
Problem: Vim9: future commands are not reserved yet.
Solution: Add commands to be implemented later. Make "this" a reserved
name.
2021-06-12 14:53:05 +02:00
James McCoy
6654ca702c
patch 8.2.2981: recovery test is not run on big-endian systems
...
Problem: Recovery test is not run on big-endian systems.
Solution: Make it work on big-endian systems. (James McCoy, closes #8368 )
2021-06-12 14:05:41 +02:00
Bram Moolenaar
0b71955552
patch 8.2.2980: popup window test is a bit flaky
...
Problem: Popup window test is a bit flaky.
Solution: Add a redraw command.
2021-06-12 13:59:03 +02:00
Yegappan Lakshmanan
5958549760
patch 8.2.2979: not all options code is covered by tests
...
Problem: Not all options code is covered by tests.
Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369 )
2021-06-12 13:46:41 +02:00
Bram Moolenaar
22db0d549f
patch 8.2.2977: crash when using a null function reference
...
Problem: Crash when using a null function reference. (Naohiro Ono)
Solution: Check for an invalid function name. (closes #8367 )
2021-06-12 12:16:55 +02:00
Bram Moolenaar
f0a4069e3d
patch 8.2.2975: Vim9: can only use an autoload function name as a string
...
Problem: Vim9: can only use an autoload function name as a string.
Solution: Load the autoload script when encountered. (closes #8124 )
2021-06-11 22:05:47 +02:00
Yegappan Lakshmanan
3044324e8d
patch 8.2.2973: fix for recovery and diff mode not tested
...
Problem: Fix for recovery and diff mode not tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352 )
2021-06-10 21:52:15 +02:00
Bram Moolenaar
7b4f76c030
patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails
...
Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
Schandl)
Solution: Do not try to delete a popup window buffer. (closes #8349 )
2021-06-10 21:07:48 +02:00
Christian Brabandt
544a38e44d
patch 8.2.2971: cannot yank a block without trailing spaces
...
Problem: Cannot yank a block without trailing spaces.
Solution: Add the "zy" command. (Christian Brabandt, closes #8292 )
2021-06-10 19:39:11 +02:00
Bram Moolenaar
a42e6e0082
patch 8.2.2969: subtracting from number option fails when result is zero
...
Problem: Subtracting from number option fails when result is zero. (Ingo
Karkat)
Solution: Reset the string value when using the numeric value.
(closes #8351 )
2021-06-10 18:43:25 +02:00
Bram Moolenaar
c04f2a4cd4
patch 8.2.2967: Vim9: crash when using two levels of partials
...
Problem: Vim9: crash when using two levels of partials.
Solution: Add outer_ref_T and use it in the execution context.
2021-06-09 19:30:03 +02:00
Bram Moolenaar
b55d618f19
patch 8.2.2965: Vim9: crash when calling function that failed to compile
...
Problem: Vim9: crash when calling function that failed to compile.
Solution: Fail when trying to call the function. (closes #8344 )
2021-06-08 22:01:53 +02:00
Bram Moolenaar
a733042b12
patch 8.2.2964: Vim9: hang when using space after ->
...
Problem: Vim9: hang when using space after ->. (Naohiro Ono)
Solution: Skip over white space to find the function name. (closes #8341 )
2021-06-08 20:46:45 +02:00
Yegappan Lakshmanan
8cf02e5cf8
patch 8.2.2960: swap file recovery not sufficiently tested
...
Problem: Swap file recovery not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339 )
2021-06-07 20:41:22 +02:00
Dominique Pelle
2f9c209ba0
patch 8.2.2959: sound_playfile() is not tested on MS-Windows
...
Problem: sound_playfile() is not tested on MS-Windows.
Solution: Make it work and enable the test. (Dominique Pellé, closes #8338 )
2021-06-07 20:28:45 +02:00
Bram Moolenaar
f7a023e580
patch 8.2.2958: function list test fails
...
Problem: Function list test fails.
Solution: Add newly added function to the list. Fix typo.
2021-06-07 18:50:01 +02:00
Bram Moolenaar
3a7503c34c
patch 8.2.2957: using getchar() in Vim9 script is problematic
...
Problem: Using getchar() in Vim9 script is problematic.
Solution: Add getcharstr(). (closes #8343 )
2021-06-07 18:29:17 +02:00
Bram Moolenaar
e729ce294f
patch 8.2.2955: Vim9: using filter in compiled command does not work
...
Problem: Vim9: using filter in compiled command does not work.
Solution: Generate EXEC including the command modifier.
2021-06-06 21:38:09 +02:00
Brennon M
6db7b6375a
patch 8.2.2954: short file name extension for Scala not recognized
...
Problem: Short file name extension for Scala not recognized.
Solution: Recognize *.sc. (closes #8337 )
2021-06-06 20:15:53 +02:00
Yegappan Lakshmanan
99285550a9
patch 8.2.2952: recover test fails on big endian systems
...
Problem: Recover test fails on big endian systems.
Solution: Disable the failing test on big endian systems. (Yegappan
Lakshmanan, closes #8335 )
2021-06-06 17:12:46 +02:00
Bram Moolenaar
2067733b5c
patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc.
...
Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
instruction.
2021-06-06 17:02:53 +02:00
Dominique Pelle
c64ed2b714
patch 8.2.2950: sound code not fully tested
...
Problem: Sound code not fully tested.
Solution: Add more sound tests. (Dominique Pellé, closes #8332 )
2021-06-06 15:07:09 +02:00
Bram Moolenaar
3cfa5b16b0
patch 8.2.2949: tests failing because no error for float to string conversion
...
Problem: Tests failing because there is no error for float to string
conversion.
Solution: Change the check for failure to check for correct result. Make
some conversions strict in Vim9 script.
2021-06-06 14:14:39 +02:00
Bram Moolenaar
7a2217bedd
patch 8.2.2948: substitute() accepts a number but not a float expression
...
Problem: Substitute() accepts a number but not a float expression.
Solution: Also accept a float. (closes #8331 )
2021-06-06 12:33:49 +02:00
Bram Moolenaar
2752360646
patch 8.2.2946: Vim9: substitute expression cannot be a List
...
Problem: Vim9: substitute expression cannot be a List in a :def function.
Solution: Use typval2string(). (closes #8330 )
2021-06-05 21:36:19 +02:00
Yegappan Lakshmanan
59b262362f
patch 8.2.2945: some buffer related code is not tested
...
Problem: Some buffer related code is not tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320 )
2021-06-05 20:59:22 +02:00
Bram Moolenaar
1328bde9d4
patch 8.2.2944: Vim9: no error when using job or channel as a string
...
Problem: Vim9: no error when using job or channel as a string.
Solution: Be more strict about conversion to string. (closes #8312 )
2021-06-05 20:51:38 +02:00
Bram Moolenaar
8da6d6db34
patch 8.2.2942: Vim9: error when calling function with too few arguments
...
Problem: Vim9: internal error when calling function with too few arguments
Solution: Check for argument count to be too few. (closes #8325 )
2021-06-05 18:15:09 +02:00
Bram Moolenaar
b288ba9f1d
patch 8.2.2941: Vim9: using does not handle a list of strings
...
Problem: Vim9: using does not handle a list of strings.
Solution: Convert a list to a string and escape each item. (closes #8310 )
2021-06-05 17:10:55 +02:00
Bram Moolenaar
21492743e8
patch 8.2.2938: after using motion force from feedkeys() it sticks
...
Problem: After using motion force from feedkeys() it may not be reset.
Solution: Clear motion_force in clearop(). (closes #8323 )
2021-06-04 21:57:57 +02:00
Dominique Pelle
56cddb3879
patch 8.2.2937: popup test fails if rightleft feature not enabled
...
Problem: Popup test fails if rightleft feature not enabled.
Solution: Check that the rightleft feature is available. (Dominique Pellé,
closes #8321 )
2021-06-04 21:09:55 +02:00
Bram Moolenaar
5fa9b24440
patch 8.2.2936: Vim9: converting number to bool uses wrong stack offset
...
Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
Halim)
Solution: Include the offset in the 2BOOL command.
2021-06-04 21:00:32 +02:00
Bram Moolenaar
5072b47a22
patch 8.2.2931: Vim9: line continuation comment uses legacy syntax
...
Problem: Vim9: line continuation comment still uses legacy syntax in one
place.
Solution: Check for #\ instead of "\ earlier. (closes #8316 )
2021-06-03 21:56:10 +02:00
Bram Moolenaar
a83d06026d
patch 8.2.2927: test commented out because it fails with ASAN
...
Problem: Test commented out because it fails with ASAN.
Solution: Only skip the test when running with ASAN.
2021-06-02 16:49:32 +02:00
Bram Moolenaar
c3cb1c92a3
patch 8.2.2926: Vim9: no good error for using :legacy in a :def function
...
Problem: Vim9: no good error for using :legacy in a :def function.
Solution: Give an explicit error where :legacy is not working.
(closes #8309 )
2021-06-02 16:47:53 +02:00
Bram Moolenaar
0f37e3561d
patch 8.2.2925: Vim9: line continuation comment uses legacy syntax
...
Problem: Vim9: line continuation comment uses legacy syntax.
Solution: Check for #\ instead of "\. (closes #8295 )
2021-06-02 15:28:15 +02:00
Bram Moolenaar
b54abeeafb
patch 8.2.2921: E704 for script local variable is not backwards compatible
...
Problem: E704 for script local variable is not backwards compatible.
(Yasuhiro Matsumoto)
Solution: Only give the error in Vim9 script. Also check for function-local
variable.
2021-06-02 11:49:23 +02:00