]>
granicus.if.org Git - vim/log
Bram Moolenaar [Fri, 17 Jul 2020 21:03:17 +0000 (23:03 +0200)]
patch 8.2.1233: Vim9: various errors not caught by try/catch
Problem: Vim9: various errors not caught by try/catch.
Solution: Do not bail out if an error is inside try/catch.
Bram Moolenaar [Fri, 17 Jul 2020 20:26:53 +0000 (22:26 +0200)]
patch 8.2.1232: MS-Windows GUI: Snap cancelled by split command
Problem: MS-Windows GUI: Snap cancelled by split command.
Solution: Do not cancel Snap when splitting a window. (Ken Takata,
closes #6467)
Bram Moolenaar [Fri, 17 Jul 2020 20:17:03 +0000 (22:17 +0200)]
patch 8.2.1231: MS-Windows: GUI code can be cleaned up
Problem: MS-Windows: GUI code can be cleaned up.
Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
Bram Moolenaar [Fri, 17 Jul 2020 20:06:44 +0000 (22:06 +0200)]
patch 8.2.1230: Vim9: list index error not caught by try/catch
Problem: Vim9: list index error not caught by try/catch.
Solution: Do not bail out if an error is inside try/catch. (closes #6462)
Bram Moolenaar [Fri, 17 Jul 2020 18:47:51 +0000 (20:47 +0200)]
patch 8.2.1229: build error without the eval feature
Problem: Build error without the eval feature.
Solution: Declare starts_with_colon. Make function local.
Bram Moolenaar [Fri, 17 Jul 2020 18:43:43 +0000 (20:43 +0200)]
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Problem: Scrollbars not flush against the window edges when maximised.
Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
Bram Moolenaar [Fri, 17 Jul 2020 18:36:00 +0000 (20:36 +0200)]
patch 8.2.1227: Vim9: allowing both quoted and # comments is confusing
Problem: Vim9: allowing both quoted and # comments is confusing.
Solution: Only support # comments in Vim9 script.
Bram Moolenaar [Thu, 16 Jul 2020 20:30:31 +0000 (22:30 +0200)]
patch 8.2.1226: MS-Windows: windows positioning wrong depending on taskbar
Problem: MS-Windows: windows positioning wrong when the taskbar is placed
at the top or left of the screen.
Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
Ken Takata, closes #6455)
Bram Moolenaar [Thu, 16 Jul 2020 20:15:53 +0000 (22:15 +0200)]
patch 8.2.1225: linker errors when building with dynamic Python 3.9
Problem: Linker errors when building with dynamic Python 3.9.
Solution: Add #defined items. (closes #6461)
Bram Moolenaar [Wed, 15 Jul 2020 20:38:56 +0000 (22:38 +0200)]
patch 8.2.1224: Vim9: arguments from partial are not used
Problem: Vim9: arguments from partial are not used.
Solution: Put the partial arguments on the stack. (closes #6460)
Bram Moolenaar [Wed, 15 Jul 2020 17:48:20 +0000 (19:48 +0200)]
patch 8.2.1223: Vim9: invalid type error for function default value
Problem: Vim9: invalid type error for function default value.
Solution: Use right argument index. (closes #6458)
Bram Moolenaar [Wed, 15 Jul 2020 16:29:18 +0000 (18:29 +0200)]
patch 8.2.1222: using valgrind in Vim command started by test doesn't work
Problem: When using valgrind a Vim command started by a test uses the same
log file name which gets overwritten.
Solution: Fix regexp to rename the log file.
Bram Moolenaar [Wed, 15 Jul 2020 16:27:08 +0000 (18:27 +0200)]
patch 8.2.1221: memory leak when updating popup window
Problem: Memory leak when updating popup window.
Solution: Clear search highlighting.
Bram Moolenaar [Wed, 15 Jul 2020 15:38:21 +0000 (17:38 +0200)]
patch 8.2.1220: memory access error when dragging a popup window
Problem: memory access error when dragging a popup window over a buffer
with folding.
Solution: Avoid going over the end of the cache. (closes #6438)
Bram Moolenaar [Wed, 15 Jul 2020 13:30:05 +0000 (15:30 +0200)]
patch 8.2.1219: symlink not followed if dirname ends in //
Problem: Symlink not followed if dirname ends in //.
Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
Bram Moolenaar [Wed, 15 Jul 2020 12:15:52 +0000 (14:15 +0200)]
patch 8.2.1218: Vim9: cannot use 'text'->func()
Problem: Vim9: cannot use 'text'->func().
Solution: Recognize string at start of command.
Bram Moolenaar [Wed, 15 Jul 2020 09:19:11 +0000 (11:19 +0200)]
patch 8.2.1217: startup test depends on random source file
Problem: Startup test depends on random source file.
Solution: Write a test file to find quickfix errors in.
Bram Moolenaar [Tue, 14 Jul 2020 23:37:36 +0000 (01:37 +0200)]
patch 8.2.1216: startup test fails
Problem: Startup test fails.
Solution: Adjust expected values for deleted lines.
Bram Moolenaar [Tue, 14 Jul 2020 21:02:44 +0000 (23:02 +0200)]
patch 8.2.1215: Atari MiNT support is outdated
Problem: Atari MiNT support is outdated.
Solution: Nobody responded this code is still useful, so let's delete it.
Bram Moolenaar [Tue, 14 Jul 2020 20:24:40 +0000 (22:24 +0200)]
patch 8.2.1214: MS-Windows: default _vimrc not correct in silent install mode
Problem: MS-Windows: default _vimrc not correct in silent install mode.
Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
Bram Moolenaar [Tue, 14 Jul 2020 20:11:04 +0000 (22:11 +0200)]
patch 8.2.1213: mouse codes not tested sufficiently
Problem: Mouse codes not tested sufficiently.
Solution: Add more tests for mouse codes. (closes #6436)
Bram Moolenaar [Tue, 14 Jul 2020 19:54:28 +0000 (21:54 +0200)]
patch 8.2.1212: cannot build with Lua 5.4
Problem: Cannot build with Lua 5.4.
Solution: Use luaL_typeerror instead defining it. (closes #6454)
Bram Moolenaar [Tue, 14 Jul 2020 19:22:30 +0000 (21:22 +0200)]
patch 8.2.1211: removed more than dead code
Problem: Removed more than dead code.
Solution: Put back the decrement.
Bram Moolenaar [Tue, 14 Jul 2020 19:08:49 +0000 (21:08 +0200)]
patch 8.2.1210: using ht_used when looping through a hashtab is less reliable
Problem: Using ht_used when looping through a hashtab is less reliable.
Solution: Use ht_changed in a few more places.
Bram Moolenaar [Tue, 14 Jul 2020 14:15:34 +0000 (16:15 +0200)]
patch 8.2.1209: Vim9: test failure
Problem: Vim9: test failure.
Solution: Add missing changes to hashtab.
Bram Moolenaar [Tue, 14 Jul 2020 13:47:23 +0000 (15:47 +0200)]
patch 8.2.1208: build failure
Problem: Build failure.
Solution: Add missing change.
Bram Moolenaar [Tue, 14 Jul 2020 13:01:05 +0000 (15:01 +0200)]
patch 8.2.1207: Vim9: crash in expr test when run in the GUI
Problem: Vim9: crash in expr test when run in the GUI.
Solution: Break out of loop over hashtab also when function got removed and
added.
Bram Moolenaar [Mon, 13 Jul 2020 21:22:54 +0000 (23:22 +0200)]
patch 8.2.1206: Vim9: crash in expr test when run in the GUI
Problem: Vim9: crash in expr test when run in the GUI.
Solution: Temporarily comment out two test lines.
Bram Moolenaar [Mon, 13 Jul 2020 20:29:02 +0000 (22:29 +0200)]
patch 8.2.1205: Vim9: && and || work different when not compiled
Problem: Vim9: && and || work different when not compiled.
Solution: Keep the value.
Bram Moolenaar [Mon, 13 Jul 2020 19:59:33 +0000 (21:59 +0200)]
patch 8.2.1204: Vim9: true and false not recognized in Vim9 script
Problem: Vim9: true and false not recognized in Vim9 script.
Solution: Recognize true and false.
Bram Moolenaar [Mon, 13 Jul 2020 19:28:03 +0000 (21:28 +0200)]
patch 8.2.1203: unused assignments in expression evaluation
Problem: Unused assignments in expression evaluation.
Solution: Move declarations and assignments to inner blocks where possible.
Bram Moolenaar [Mon, 13 Jul 2020 18:41:08 +0000 (20:41 +0200)]
patch 8.2.1202: Vim9: crash when calling a closure from a builtin function
Problem: Vim9: crash when calling a closure from a builtin function.
Solution: Use the current execution context. (closes #6441)
Bram Moolenaar [Mon, 13 Jul 2020 16:55:48 +0000 (18:55 +0200)]
patch 8.2.1201: Vim9: crash when passing number as dict key
Problem: Vim9: crash when passing number as dict key.
Solution: Check key type to be string. (closes #6449)
Bram Moolenaar [Mon, 13 Jul 2020 16:18:00 +0000 (18:18 +0200)]
patch 8.2.1200: Vim9: cannot disassemble a lambda function
Problem: Vim9: cannot disassemble a lambda function.
Solution: Recognize "<lambda>123" as a function name.
Bram Moolenaar [Sun, 12 Jul 2020 21:09:20 +0000 (23:09 +0200)]
patch 8.2.1199: not all assert functions are fully tested
Problem: Not all assert functions are fully tested.
Solution: Test more assert functions.
Bram Moolenaar [Sun, 12 Jul 2020 19:38:29 +0000 (21:38 +0200)]
patch 8.2.1198: terminal2 test sometimes hangs in the GUI on Travis
Problem: Terminal2 test sometimes hangs in the GUI on Travis.
Solution: Move test function to terminal3 to see if the problem moves too.
Bram Moolenaar [Sun, 12 Jul 2020 18:49:29 +0000 (20:49 +0200)]
patch 8.2.1197: clientserver test still fails on MS-Windows
Problem: Clientserver test still fails on MS-Windows.
Solution: Expect a different error message.
Bram Moolenaar [Sun, 12 Jul 2020 18:44:37 +0000 (20:44 +0200)]
patch 8.2.1196: build failure with normal features
Problem: Build failure with normal features.
Solution: Add #ifdef.
Bram Moolenaar [Sun, 12 Jul 2020 18:00:24 +0000 (20:00 +0200)]
patch 8.2.1195: clientserver test fails on MS-Windows
Problem: Clientserver test fails on MS-Windows.
Solution: Expect a different error message.
Bram Moolenaar [Sun, 12 Jul 2020 17:52:36 +0000 (19:52 +0200)]
patch 8.2.1194: test failure because shell prompt differs
Problem: Test failure because shell prompt differs.
Solution: Set the shell prompt.
Bram Moolenaar [Sun, 12 Jul 2020 17:24:10 +0000 (19:24 +0200)]
patch 8.2.1193: terminal window not redrawn when dragging a popup window
Problem: Terminal window not redrawn when dragging a popup window over it.
Solution: Redraw terminal window. (fixes #6438)
Bram Moolenaar [Sun, 12 Jul 2020 16:33:53 +0000 (18:33 +0200)]
patch 8.2.1192: Lua test fails with older Lua version
Problem: Lua test fails with older Lua version.
Solution: Adjust expected error messages. (closes #6444)
Bram Moolenaar [Sun, 12 Jul 2020 15:31:09 +0000 (17:31 +0200)]
patch 8.2.1191: Vim9: crash when function calls itself
Problem: Vim9: crash when function calls itself.
Solution: Add status UF_COMPILING. (closes #6441)
Bram Moolenaar [Sun, 12 Jul 2020 15:07:05 +0000 (17:07 +0200)]
patch 8.2.1190: Vim9: checking for Vim9 syntax is spread out
Problem: Vim9: checking for Vim9 syntax is spread out.
Solution: Use in_vim9script().
Bram Moolenaar [Sun, 12 Jul 2020 14:32:19 +0000 (16:32 +0200)]
patch 8.2.1189: Vim9: line continuation in lambda doesn't always work
Problem: Vim9: line continuation in lambda doesn't always work.
Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
Bram Moolenaar [Sun, 12 Jul 2020 12:34:00 +0000 (14:34 +0200)]
patch 8.2.1188: memory leak with invalid json input
Problem: Memory leak with invalid json input.
Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
closes #6442)
Bram Moolenaar [Sun, 12 Jul 2020 12:09:23 +0000 (14:09 +0200)]
patch 8.2.1187: terminal2 test sometimes hangs in the GUI on Travis
Problem: Terminal2 test sometimes hangs in the GUI on Travis.
Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
Bram Moolenaar [Sun, 12 Jul 2020 11:47:42 +0000 (13:47 +0200)]
patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click
Problem: With SGR mouse codes balloon doesn't show up after click.
Solution: Add the MOUSE_RELEASE bits to mouse_code.
Bram Moolenaar [Sat, 11 Jul 2020 20:49:59 +0000 (22:49 +0200)]
patch 8.2.1185: some other tests fail
Problem: Some other tests fail.
Solution: Adjust tests for different assert_fails() behavior.
Bram Moolenaar [Sat, 11 Jul 2020 20:25:57 +0000 (22:25 +0200)]
patch 8.2.1184: some tests fail
Problem: Some tests fail.
Solution: Adjust tests for different assert_fails() behavior. Remove unused
variable.
Bram Moolenaar [Sat, 11 Jul 2020 20:14:59 +0000 (22:14 +0200)]
patch 8.2.1183: assert_fails() checks the last error message
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
Bram Moolenaar [Sat, 11 Jul 2020 13:20:48 +0000 (15:20 +0200)]
patch 8.2.1182: Vim9: no check for whitespace after comma in lambda
Problem: Vim9: no check for whitespace after comma in lambda.
Solution: Give error if white space is missing.
Bram Moolenaar [Sat, 11 Jul 2020 12:26:08 +0000 (14:26 +0200)]
patch 8.2.1181: json code not fully tested
Problem: Json code not fully tested.
Solution: Add more test coverage. (Dominique Pellé, closes #6433)
Bram Moolenaar [Sat, 11 Jul 2020 12:08:04 +0000 (14:08 +0200)]
patch 8.2.1180: build failure in small version
Problem: Build failure in small version.
Solution: Add #ifdef.
Bram Moolenaar [Sat, 11 Jul 2020 12:04:28 +0000 (14:04 +0200)]
patch 8.2.1179: Test_termwinscroll() sometimes hangs in the GUI
Problem: Test_termwinscroll() sometimes hangs in the GUI.
Solution: Skip the test in the GUI.
Bram Moolenaar [Sat, 11 Jul 2020 11:40:45 +0000 (13:40 +0200)]
patch 8.2.1178: Vim9: filter function recognized as command modifier
Problem: Vim9: filter function recognized as command modifier, leading to a
crash.
Solution: Clear cmdmod after freeing items. Do not recognize a command
modifier followed by non-white space. (closes #6434)
Bram Moolenaar [Sat, 11 Jul 2020 11:09:36 +0000 (13:09 +0200)]
patch 8.2.1177: terminal2 test sometimes hangs in the GUI
Problem: Terminal2 test sometimes hangs in the GUI.
Solution: Move some tests to other files to further locate the problem.
Set the GUI to a fixed screen size.
Bram Moolenaar [Fri, 10 Jul 2020 20:45:38 +0000 (22:45 +0200)]
patch 8.2.1176: Vim9: not enough type checking in Vim9 script
Problem: Vim9: not enough type checking in Vim9 script.
Solution: Use same type checking as in a :def function.
Bram Moolenaar [Fri, 10 Jul 2020 20:00:53 +0000 (22:00 +0200)]
Update runtime files
Bram Moolenaar [Fri, 10 Jul 2020 19:50:41 +0000 (21:50 +0200)]
patch 8.2.1175: Vim9: cannot split a line before ".member"
Problem: Vim9: Cannot split a line before ".member".
Solution: Check for ".member" after line break.
Bram Moolenaar [Fri, 10 Jul 2020 19:17:51 +0000 (21:17 +0200)]
patch 8.2.1174: no test for the "recording @x" message
Problem: No test for the "recording @x" message.
Solution: Add a test. (Dominique Pellé, closes #6427)
Bram Moolenaar [Fri, 10 Jul 2020 18:45:31 +0000 (20:45 +0200)]
patch 8.2.1173: tee doesn't build on some systems
Problem: Tee doesn't build on some systems.
Solution: Include header files. (Dominique Pelle, closes #6431)
Bram Moolenaar [Fri, 10 Jul 2020 18:40:23 +0000 (20:40 +0200)]
patch 8.2.1172: error messages when doing "make clean" in doc or tee
Problem: Error messages when doing "make clean" in the runtime/doc or
src/tee directories.
Solution: Use "rm -f".
Bram Moolenaar [Fri, 10 Jul 2020 18:30:12 +0000 (20:30 +0200)]
patch 8.2.1171: possible crash when out of memory
Problem: Possible crash when out of memory.
Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
Bram Moolenaar [Fri, 10 Jul 2020 18:24:07 +0000 (20:24 +0200)]
patch 8.2.1170: cursor off by one with block paste while 'virtualedit' "all"
Problem: Cursor off by one with block paste while 'virtualedit' is "all".
Solution: Adjust condition. (Hugo Gualandi, closes #6430)
Bram Moolenaar [Fri, 10 Jul 2020 18:03:03 +0000 (20:03 +0200)]
patch 8.2.1169: write NUL past allocated space using corrupted spell file
Problem: Write NUL past allocated space using corrupted spell file.
(Markus Vervier)
Solution: Init "c" every time.
Bram Moolenaar [Thu, 9 Jul 2020 20:53:30 +0000 (22:53 +0200)]
patch 8.2.1168: wrong method argument for appendbufline()
Problem: Wrong method argument for appendbufline().
Solution: Use FEARG_3.
Bram Moolenaar [Thu, 9 Jul 2020 19:20:47 +0000 (21:20 +0200)]
patch 8.2.1167: Vim9: builtin function method call only supports first arg
Problem: Vim9: builtin function method call only supports first argument.
Solution: Shift arguments when needed. (closes #6305, closes #6419)
Bram Moolenaar [Thu, 9 Jul 2020 17:16:35 +0000 (19:16 +0200)]
patch 8.2.1166: once mouse move events are enabled getchar() returns them
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
Bram Moolenaar [Thu, 9 Jul 2020 16:49:23 +0000 (18:49 +0200)]
patch 8.2.1165: insufficient testing for the Tcl interface
Problem: Insufficient testing for the Tcl interface.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
Bram Moolenaar [Wed, 8 Jul 2020 21:09:28 +0000 (23:09 +0200)]
patch 8.2.1164: text cleared by checking terminal properties not redrawn
Problem: Text cleared by checking terminal properties not redrawn. (Alexey
Radkov)
Solution: Mark the screen characters as invalid. (closes #6422)
Bram Moolenaar [Wed, 8 Jul 2020 20:36:17 +0000 (22:36 +0200)]
patch 8.2.1163: build error
Problem: Build error.
Solution: Add missing change to globals.
Bram Moolenaar [Wed, 8 Jul 2020 20:24:09 +0000 (22:24 +0200)]
patch 8.2.1162: crash when using a lambda
Problem: Crash when using a lambda.
Solution: Check for evalarg to be NULL.
Bram Moolenaar [Wed, 8 Jul 2020 20:01:49 +0000 (22:01 +0200)]
patch 8.2.1161: Vim9: using freed memory
Problem: Vim9: using freed memory.
Solution: Put pointer back in evalarg instead of freeing it.
Bram Moolenaar [Wed, 8 Jul 2020 17:35:21 +0000 (19:35 +0200)]
patch 8.2.1160: Vim9: memory leak in allocated types
Problem: Vim9: memory leak in allocated types.
Solution: Free the type pointers.
Bram Moolenaar [Wed, 8 Jul 2020 16:38:08 +0000 (18:38 +0200)]
patch 8.2.1159: Vim9: no error for missing space after a comma
Problem: Vim9: no error for missing space after a comma.
Solution: Check for white space.
Bram Moolenaar [Wed, 8 Jul 2020 16:34:57 +0000 (18:34 +0200)]
patch 8.2.1158: build error
Problem: Build error.
Solution: Add missing change to globals.
Bram Moolenaar [Wed, 8 Jul 2020 16:30:06 +0000 (18:30 +0200)]
patch 8.2.1157: Vim9: dict.name is not recognized as an expression
Problem: Vim9: dict.name is not recognized as an expression.
Solution: Recognize ".name". (closes #6418)
Bram Moolenaar [Wed, 8 Jul 2020 15:47:57 +0000 (17:47 +0200)]
patch 8.2.1156: Vim9: No error for invalid command in compiled function
Problem: Vim9: No error for invalid command in compiled function.
Solution: Handle CMD_SIZE.
Bram Moolenaar [Wed, 8 Jul 2020 15:36:21 +0000 (17:36 +0200)]
patch 8.2.1155: Vim9: cannot handle line break inside lambda
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407, closes #6409)
Bram Moolenaar [Wed, 8 Jul 2020 13:16:19 +0000 (15:16 +0200)]
patch 8.2.1154: Vim9: crash when using imported function
Problem: Vim9: crash when using imported function.
Solution: Check for a function type. Set the script context when calling a
function. (closes #6412)
Bram Moolenaar [Tue, 7 Jul 2020 21:31:36 +0000 (23:31 +0200)]
patch 8.2.1153: Vim9: script test fails on some systems
Problem: Vim9: script test fails on some systems.
Solution: Return proper value from Compare().
Bram Moolenaar [Tue, 7 Jul 2020 20:50:12 +0000 (22:50 +0200)]
patch 8.2.1152: Vim9: function reference is missing script prefix
Problem: Vim9: function reference is missing script prefix.
Solution: Use the actual function name instead of the name searched for in
the script context. (closes #6412)
Bram Moolenaar [Tue, 7 Jul 2020 18:50:39 +0000 (20:50 +0200)]
patch 8.2.1151: insufficient test coverage for Python
Problem: Insufficient test coverage for Python.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
Bram Moolenaar [Tue, 7 Jul 2020 18:12:54 +0000 (20:12 +0200)]
patch 8.2.1150: ml_get error when using Python
Problem: ml_get error when using Python. (Yegappan Lakshmanan)
Solution: Check the line number is not out of range. Call "Check" with
"fromObj" instead of "from".
Bram Moolenaar [Mon, 6 Jul 2020 21:04:49 +0000 (23:04 +0200)]
patch 8.2.1149: Vim9: :eval command not handled properly
Problem: Vim9: :eval command not handled properly.
Solution: Compile the :eval command. (closes #6408)
Bram Moolenaar [Mon, 6 Jul 2020 19:53:17 +0000 (21:53 +0200)]
patch 8.2.1148: warning for using int instead of size_t
Problem: Warning for using int instead of size_t.
Solution: Change "len" argument to size_t. (Mike Williams)
Bram Moolenaar [Mon, 6 Jul 2020 19:24:57 +0000 (21:24 +0200)]
patch 8.2.1147: :confirm may happen in cooked mode
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
Bram Moolenaar [Mon, 6 Jul 2020 19:03:06 +0000 (21:03 +0200)]
patch 8.2.1146: not enough testing for Python
Problem: Not enough testing for Python.
Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
closes #6392)
Bram Moolenaar [Sun, 5 Jul 2020 19:38:11 +0000 (21:38 +0200)]
patch 8.2.1145: Vim9: "for" only accepts a list at compile time
Problem: Vim9: "for" only accepts a list at compile time.
Solution: Also accept a list at runtime.
Bram Moolenaar [Sun, 5 Jul 2020 19:10:24 +0000 (21:10 +0200)]
patch 8.2.1144: Vim9: return type of reverse() is any
Problem: Vim9: return type of reverse() is any.
Solution: Use the type of the first argument.
Bram Moolenaar [Sun, 5 Jul 2020 18:55:29 +0000 (20:55 +0200)]
patch 8.2.1143: Vim9: return type of remove() is any
Problem: Vim9: return type of remove() is any.
Solution: Use the member type of the first argument, if known.
Bram Moolenaar [Sun, 5 Jul 2020 18:47:18 +0000 (20:47 +0200)]
patch 8.2.1142: Vim9: return type of insert() is any
Problem: Vim9: return type of insert() is any.
Solution: Use type of the first argument.
Bram Moolenaar [Sun, 5 Jul 2020 18:16:41 +0000 (20:16 +0200)]
patch 8.2.1141: Vim9: return type of filter() is any
Problem: Vim9: return type of filter() is any.
Solution: Use type of the argument.
Bram Moolenaar [Sun, 5 Jul 2020 18:08:39 +0000 (20:08 +0200)]
patch 8.2.1140: Vim9: return type of extend() is any
Problem: Vim9: return type of extend() is any.
Solution: Use type of the argument.
Bram Moolenaar [Sun, 5 Jul 2020 16:48:23 +0000 (18:48 +0200)]
patch 8.2.1139: Vim9: test for silent echo fails in some environments
Problem: Vim9: test for silent echo fails in some environments.
Solution: Use :function instead of :def.
Bram Moolenaar [Sun, 5 Jul 2020 16:41:08 +0000 (18:41 +0200)]
patch 8.2.1138: Vim9: return type of copy() and deepcopy() is any
Problem: Vim9: return type of copy() and deepcopy() is any.
Solution: Use type of the argument.
Bram Moolenaar [Sun, 5 Jul 2020 16:18:42 +0000 (18:18 +0200)]
patch 8.2.1137: Vim9: modifiers not cleared after compiling function
Problem: Vim9: modifiers not cleared after compiling function.
Solution: Clear command modifiers. (closes #6396)
Bram Moolenaar [Sun, 5 Jul 2020 15:04:13 +0000 (17:04 +0200)]
patch 8.2.1136: Vim9: return type of argv() is always any
Problem: Vim9: return type of argv() is always any.
Solution: Use list<string> if there is no argument.
Bram Moolenaar [Sun, 5 Jul 2020 14:51:26 +0000 (16:51 +0200)]
patch 8.2.1135: Vim9: getting a dict member may not work
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item.