John Marriott wrote:
> On 14-Jan-2023 04:37, Bram Moolenaar wrote:
> > Patch 9.0.1192
> > Problem:No error when class function argument shadows a member.
> > Solution: Check for shadowing.
> > Files: src/vim9class.c, src/testdir/test_vim9_class.vim
> >
> >
> After this patch, msys64 (
Patch 9.0.1194 (after 9.0.1192)
Problem:Compiler warning for comparing pointer with int.
Solution: Change NULL to zero.
Files: src/vim9class.c
*** ../vim-9.0.1193/src/vim9class.c 2023-01-13 17:36:44.311699799 +
--- src/vim9class.c 2023-01-13 19:16:46.821834051 +
*
Patch 9.0.1193
Problem:Cannot map when using the Kitty key protocol.
Solution: Add a non-simplified mapping for K_ESC. (closes #11811)
Files: src/misc2.c
*** ../vim-9.0.1192/src/misc2.c 2022-11-19 19:02:33.957452667 +
--- src/misc2.c 2023-01-13 18:28:07.698900047 +
*
On 14-Jan-2023 04:37, Bram Moolenaar wrote:
Patch 9.0.1192
Problem:No error when class function argument shadows a member.
Solution: Check for shadowing.
Files: src/vim9class.c, src/testdir/test_vim9_class.vim
After this patch, msys64 (clang 15.0.5) gives this warning:
clang -c -I
Patch 9.0.1192
Problem:No error when class function argument shadows a member.
Solution: Check for shadowing.
Files: src/vim9class.c, src/testdir/test_vim9_class.vim
*** ../vim-9.0.1191/src/vim9class.c 2023-01-12 17:06:24.136720890 +
--- src/vim9class.c 2023-01-13 16:43:3
Patch 9.0.1191
Problem:Some Bazel files are not recognized.
Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1190/runtime/filetype.vim2023-01-11 21:24:23.407844367
+
--- runtime/f
Patch 9.0.1190
Problem:AppVeyor runs much slower with MSVC 2022.
Solution: Go back to MSVC 2015. (Christopher Plewright, closes #11810)
Files: .appveyor.yml, ci/appveyor.bat, src/INSTALLpc.txt
*** ../vim-9.0.1189/.appveyor.yml 2023-01-11 12:49:19.529434293 +
--- .appveyor.y
Patch 9.0.1189
Problem:Invalid memory access with folding and using "L".
Solution: Prevent the cursor from moving to line zero.
Files: src/normal.c, src/testdir/test_fold.vim
*** ../vim-9.0.1188/src/normal.c2023-01-10 17:29:24.912481480 +
--- src/normal.c2023-01-1
> - declaring a class inside a function allows me put related code together
> - can be used to simulate a closure function.
>
> example for java:
>
> button.setOnClickListener(new View.OnClickListener() {
> @Override
> public void onClick(View v) {
> AsyncTaskRun