Update runtime files
This commit is contained in:
@ -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 languages, especially Java.
|
||||
|
||||
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 |Vim9| script file. *E1342*
|
||||
|
||||
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 ~
|
||||
|
||||
Reference in New Issue
Block a user