Mercurial > vim
diff runtime/doc/vim9class.txt @ 32061:b2412874362f
Update runtime files
Commit: https://github.com/vim/vim/commit/dd60c365cd2630794be84d63c4fe287124a30b97
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 27 15:49:53 2023 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Feb 2023 17:00:08 +0100 |
parents | a9b5ffbc0428 |
children | b2e8663e6dcc |
line wrap: on
line diff
--- a/runtime/doc/vim9class.txt +++ b/runtime/doc/vim9class.txt @@ -1,4 +1,4 @@ -*vim9class.txt* For Vim version 9.0. Last change: 2023 Feb 19 +*vim9class.txt* For Vim version 9.0. Last change: 2023 Feb 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -469,7 +469,7 @@ interface, which is often done in many l Items in a class ~ *E1318* *E1325* *E1326* -Inside a class, in betweeen `:class` and `:endclass`, these items can appear: +Inside a class, in between `:class` and `:endclass`, these items can appear: - An object member declaration: > this._memberName: memberType this.memberName: memberType @@ -522,11 +522,11 @@ An interface can only be defined in a |V null object ~ -When a variable is decleared to have the type of an object, but it is not +When a variable is declared to have the type of an object, but it is not initialized, the value is null. When trying to use this null object Vim often does not know what class was supposed to be used. Vim then cannot check if a member name is correct and you will get an "Using a null object" error, -even when the member name is invalid. *E1360* +even when the member name is invalid. *E1360* *E1362* Default constructor ~