Hi, On Tue, Aug 29, 2023 at 1:38 PM errael <[email protected]> wrote:
> > - > > Able to access private static > - > > Compile error when trying to write public static > > There's another one (a real shocker). > > It's OK to write to a private member. > > vim9script > > class C > this._m: number > #static _s: number > def Dump() > echo this._m > enddef > endclass > > def F() > var o = C.new() > o.Dump() > o._m = 5 > o.Dump() > #var s = C._s > enddef > F() > > I put in the Dump() because I had to see it to believe it. > > > I have created the PR https://github.com/vim/vim/pull/12963 to address this. Regards, Yegappan -- -- 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/CAAW7x7%3DBeBcUG%2Bk1tWsRpOWp2TucmdT8NZQEmkR5q-FF%2BML95A%40mail.gmail.com.
