Yegappan wrote:
> Sourcing the following script:
>
> -------------------------------------------------------------------------------------
> vim9script
>
> class MyCar
> public this.make: string
>
> def new(make_arg: string)
> this.make = make_arg
> enddef
>
> def GetMake()
> echomsg $"make = {this.make}"
> enddef
> endclass
>
> var c = MyCar.new("abc")
> c.GetMake()
> c.make = "def"
> c.GetMake()
> -------------------------------------------------------------------------------------
>
> generates the below ASAN log:
I cannot reproduce it now, I think patch 9.0.1093 fixed this one as
well.
--
Proofread carefully to see if you any words out.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221225160428.628C11C0AA3%40moolenaar.net.