Mercurial > vim
comparison runtime/doc/todo.txt @ 33025:1d18c7fe609f v9.0.1804
patch 9.0.1804: Vim9: no support for private object methods
Commit: https://github.com/vim/vim/commit/cd7293bf6c358bb0e183582a2927fc03566d29f6
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Aug 27 19:18:23 2023 +0200
patch 9.0.1804: Vim9: no support for private object methods
Problem: Vim9: no support for private object methods
Solution: Add support for private object/class methods
closes: #12920
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 27 Aug 2023 19:30:05 +0200 |
parents | 2129fe5a2666 |
children | 6028d7f701ce |
comparison
equal
deleted
inserted
replaced
33024:e5b8fc37e882 | 33025:1d18c7fe609f |
---|---|
127 - Private methods? | 127 - Private methods? |
128 either: private def Func() | 128 either: private def Func() |
129 or: def _Func() | 129 or: def _Func() |
130 Perhaps use "private" keyword instead of "_" prefix? | 130 Perhaps use "private" keyword instead of "_" prefix? |
131 - "final" object members - can only be set in the constructor. | 131 - "final" object members - can only be set in the constructor. |
132 - Support export/import of classes and interfaces. | |
132 - Cannot use class type of itself in the method (Issue #12369) | 133 - Cannot use class type of itself in the method (Issue #12369) |
133 - Cannot use an object method in a lambda #12417 | 134 - Cannot use an object method in a lambda #12417 |
134 Define all methods before compiling them? | 135 Define all methods before compiling them? |
135 - Cannot call class member of funcref type (Issue #12324) | 136 - Cannot call class member of funcref type (Issue #12324) |
136 Also #12081 first case. | 137 Also #12081 first case. |