Mercurial > vim
view .gitattributes @ 34098:8241df3e6dc1
runtime(doc): Improve the documentation for Vim9 classes (#13828)
Commit: https://github.com/vim/vim/commit/b21499537fb9fd0ff407e6113ac60ebd82058e2a
Author: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Date: Sun Jan 7 17:52:10 2024 +0300
runtime(doc): Improve the documentation for Vim9 classes (https://github.com/vim/vim/issues/13828)
* Emend textual typos
* Emend syntactic errors in examples
* Acknowledge no support for abstract static methods
* Acknowledge the non-ubiquity of instance qualification
"This" was never allowed in method declarations, e.g.:
class A
def this.M()
enddef
endclass
and, since patch 9.0.2167, "this" can no longer be used in field
declarations, e.g.:
class B
var this.f: string
endclass
* Recognise abstract child classes
* Reword an ambiguous turn of phrase
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Jan 2024 16:00:09 +0100 |
parents | ccc02b39fb5e |
children |