On Fri, Dec 23, 2022 at 5:54 PM Yegappan Lakshmanan wrote:
>
> Hi,
>
> When sourcing the following script twice, I see the below ASAN error:
>
> --
> vim9script
>
> class MyCar
> this.make: string
>
> def new(make_arg: string)
Hi,
When sourcing the following script twice, I see the below ASAN error:
--
vim9script
class MyCar
this.make: string
def new(make_arg: string)
this.make = make_arg
enddef
def GetMake()
echomsg $"make = {th
On 23-Dec-2022 09:37, Christopher Plewright wrote:
On 23-Dec-2022 00:44, Bram Moolenaar wrote:
Thanks again John.
No worries 😁
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http
Patch 9.0.1092
Problem:Search error message doesn't show used pattern.
Solution: Pass the actually used pattern to where the error message is
given. (Rob Pilling, closes #11742)
Files: src/ex_cmds.c, src/search.c, src/proto/search.pro,
src/testdir/test_global.vi
Sometimes quantity is quality.
self
. Python
. Smalltalk
. Lua
. Ruby
. Rust
. Legacy vimscript dict obj
this
. Dart
. C++
. Java
. C#
. Php use $this->
Neither this or self, but instance.member
.Julia
.Actionscript 3
. Fortran 90, 2003
Instance created by new ClassName/Objec
* Elimar Riesebieter [2022-11-20 16:05 +0100]:
> Hi all,
>
> Environment: Linux
> Terminal: tmux
> Compiler: clang-15
> Version: 9.0.0915
>
> There is a test failure:
> Found errors in Test_autocmd_user_clear_group():
> Run 1, 15:38:56 - 15:39:01:
> command line..script
> /sour
Patch 9.0.1091
Problem:Assignment to non-existing member causes a crash. (Yegappan
Lakshmanan)
Solution: Give an error message and bail out when a member cannot be found.
Files: src/vim9compile.c, src/vim9class.c, src/testdir/test_vim9_class.vim
*** ../vim-9.0.1090/src/vi
> No, I prefer 'this' over 'self'. I was considering if its possible to
go without any keyword for it. For example, these days we also have
syntax highlighting which can give a different color for member variables
and arguments.
In order to give different colors for member variables and fun
> Before everything becomes unchangeable, can I suggest to use
> "new ClassName" instead of "ClassName.new" to create an instance ?
>
> According to the description in vim9class.txt:
>
>
> > An object can only be created by a class. A class provides:
> > - A new() method, the constructor, whi
Dominique wrote:
> Attached is a patch with 2 fixes in the
> documentation of Vim-9.0.1090.
I'll include it, thanks.
--
5 out of 4 people have trouble with fractions.
/// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\
///
Hi,
When the following script is sourced, Vim crashes:
-
vim9script
class TestClass
def new()
this.state = 0
enddef
endclass
var c = TestClass.new()
Hi Bram,
Before everything becomes unchangeable, can I suggest to use
"new ClassName" instead of "ClassName.new" to create an instance ?
According to the description in `vim9class.txt`:
> An object can only be created by a class. A class provides:
> - A new() method, the constructor, which retu
Hi Bram,
Before everything becomes unchangeable, can I suggest to use
"new ClassName" instead of "ClassName.new" to create an instance ?
According to the description in vim9class.txt:
> An object can only be created by a class. A class provides:
> - A new() method, the constructor, which retur
Hi
Attached is a patch with 2 fixes in the
documentation of Vim-9.0.1090.
Regards
Dominique
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You re
Am Fr., 23. Dez. 2022 um 05:39 Uhr schrieb tooth pik :
>
> it's not the PS2 prompt being used, it's the parts of PS1 that have to be
> evaluated
> are simply not being evaluated: the $(date '+%H:%M') and the \w
>
> when my PS1 is "$(date '+%H:%M') /w > " what winds up showing is the "> "
For me,
Patch 9.0.1090
Problem:FHIR Shorthand files are not recognized.
Solution: Add a pattern to detect FSH files. (Matthew Gramigna,
closes #11738)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1089/runtime/filetype.vim2022-12-19 20:42:45.88
Patch 9.0.1089
Problem:unnessary assignment
Solution: Remove the assignment. (Luuk van Baal, closes #1136)
Files: src/memline.c
*** ../vim-9.0.1088/src/memline.c 2022-12-05 13:50:49.718052362 +
--- src/memline.c 2022-12-23 10:29:52.680583838 +
***
***
That's so great to hear. Glad you're feeling better, Bram.
On Thursday, December 22, 2022 at 1:11:04 PM UTC Bram Moolenaar wrote:
>
> > Good evening everyone and Bram in particular.
> > I just wanted to know if it was possible to have news of your health
> which
> > I hope has now fully recove
18 matches
Mail list logo