On Tue, Sep 5, 2023 at 9:56 PM Yegappan Lakshmanan <[email protected]> wrote: > > Hi, > > On Tue, Sep 5, 2023 at 8:20 PM errael <[email protected]> wrote: >> >> (Short term discussion) >> >> Over a week ago, there was a one week estimate to take bug fixes. Some >> notable missing features were discovered: >> >> access control was not implemented (could write to privates) >> reading/writing statics outside of a class not implemented >> >> Basic access control was fixed, reading statics outside of a class fixed. >> Variety of other fixes, for example garbage collection of class/interface. >> I don't think there are any open issues regarding specification of >> syntax/semantics. >> >> Issues I'm aware of and/or I'm not sure about >> >> writing statics in s :def outside of a class >> more access control situations >> script level access issues, maybe only statics > > > Thanks for summarizing the outstanding issues. > >> >> Still not feature complete because of 1. >> The second could be considered bugs, the third hasn't been triaged (AFAIK), >> could be missing feature or bugs. >> >> Putting together tests for 2. over the last day. Some bugs found/fixed; >> Good/Bad news, it's still pretty easy to find bugs (though I can be brutal, >> so maybe it's not that bad). I've add some fails below, depending can open >> them as bugs (certainly will if they are not fixed for 9.1) >> >> @yegappan @chrisbra Those at a higher pay grade than I will have to >> contemplate, meditate, and otherwise look at the situation, and make a >> scheduling update. I put TODO in the tile, but things change... >> >> Following run with 9.0.1872 and PR #13032 >> >> script level static access example >> >> line 8: >> E1326: Member not found on object "A": svar1 >> >> vim9script >> >> class A >> public static svar1: number >> endclass >> >> var oa = A.new() >> echo oa.svar1 >> >> weird name duplication error > > > I have opened PR https://github.com/vim/vim/pull/13042 with a fix for this > issue. >
Both of these issues are now addressed in the PR. Regards, Yegappan > >> >> line 5: >> E1369: Duplicate member: s_var >> >> Flip the order of the declarations, and there is no error. Probably off by 1 >> for duplicate name check >> >> vim9script >> >> class C >> public static s_var2: number >> public static s_var: number >> endclass >> >> -- -- 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/CAAW7x7n9mTUQNYHLqJqb6ZgW%3DP8sOuXFNOxMc3Ubht8miruyDw%40mail.gmail.com.
