]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): Fill in a few details regarding :enums (#14349)
authorAliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Thu, 4 Apr 2024 20:05:33 +0000 (23:05 +0300)
committerGitHub <noreply@github.com>
Thu, 4 Apr 2024 20:05:33 +0000 (22:05 +0200)
commit957402258053ac639575749c6e41ec284f25ae1c
treee1d0f3ae95e665cd31da080476242ebdffb9e033
parent408281e16a36c15eed10fbf0406fa8ab159fc4bf
runtime(doc): Fill in a few details regarding :enums (#14349)

- Mention the support of eval() for enumeration values.

- Clarify the extent of immutability for enumeration values.

- Specify the requirements for class methods to meet for
  class variable initialisation and their use in nested
  functions and lambda expressions.

- Remove a duplicate sentence that describes how to access
  parent class methods in derivative classes (see another
  "copy" two paragraphs below).

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
runtime/doc/vim9class.txt