Patch 9.0.1211

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1211 Problem:Storing value in interface member does not always work. Solution: Convert the index on the interface to the index on the object. Files: src/vim9instr.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/testdir/test_vim9_class.vim *** ../vim-9.0

Re: Patch 9.0.1208

2023-01-16 Fir de Conversatie John Marriott
On 17-Jan-2023 06:35, Enan Ajmain wrote: On Tue, 17 Jan 2023 06:09:22 +1100 John Marriott wrote: After this patch, msys64 (clang 15.0.5) gives this error: [...] Unrelated but wanted clarification. By 'msys64' do you mean clang64 build system of msys2 (i.e., msys/clang64)? or do you mean mi

Patch 9.0.1210

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1210 (after 9.0.1208) Problem:Compiler complains about declaration after label. Solution: Move declaration to beginning of block (John Marriott) Files: src/os_mswin.c *** ../vim-9.0.1209/src/os_mswin.c 2023-01-16 18:19:01.911301085 + --- src/os_mswin.c 2023-01

Re: Patch 9.0.1208

2023-01-16 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 17-Jan-2023 05:19, Bram Moolenaar wrote: > > Patch 9.0.1208 > > Problem:Code is indented more than necessary. > > Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, > > closes #11819) > > Files: src/netbeans.c, src/normal.c

Patch 9.0.1209

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1209 Problem:Getting interface member does not always work. Solution: Convert the index on the interface to the index on the object. (closes #11825) Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h, src/structs.h, src/vim9class.c, src/proto/

Re: Patch 9.0.1208

2023-01-16 Fir de Conversatie Enan Ajmain
On Tue, 17 Jan 2023 06:09:22 +1100 John Marriott wrote: > After this patch, msys64 (clang 15.0.5) gives this error: > [...] Unrelated but wanted clarification. By 'msys64' do you mean clang64 build system of msys2 (i.e., msys/clang64)? or do you mean mingw64 system of msys2 (i.e., msys/mingw64)

Re: Patch 9.0.1208

2023-01-16 Fir de Conversatie John Marriott
On 17-Jan-2023 05:19, Bram Moolenaar wrote: Patch 9.0.1208 Problem:Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11819) Files: src/netbeans.c, src/normal.c, src/ops.c, src/option.c, src

Patch 9.0.1208

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1208 Problem:Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11819) Files: src/netbeans.c, src/normal.c, src/ops.c, src/option.c, src/optionstr.c, src/os_amiga.c, src/os_mac_conv.c

Patch 9.0.1207

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1207 Problem:Error when object type is expected but getting "any". Solution: When actual type is "any" use a runtime type check. (closes #11826) Files: src/vim9type.c, src/testdir/test_vim9_class.vim *** ../vim-9.0.1206/src/vim9type.c 2023-01-15 18:17:08.78

Re: Class implementation

2023-01-16 Fir de Conversatie Bram Moolenaar
> So, instead of using the "this." prefix, vim9 could specify that member > variable names must either use the @ prefix for public, or use the _ prefix > for private. ie., all member variable names must have one of these two > prefixes. I think this is worth considering, because it's simpl

Patch 9.0.1206

2023-01-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1206 Problem:Testing with Python on AppVeyor does not work properly. Solution: Fix typo. Move most lines to the .bat file. (Christopher Plewright, closes #11828) Files: .appveyor.yml, ci/appveyor.bat *** ../vim-9.0.1205/.appveyor.yml 2023-01-13 15:28:07.6