Skip to content

Commit 6bebd01

Browse files
authored
Merge pull request #2199 from h-east/update-vim9class
Update vim9class.{txt,jax}
2 parents b871642 + 31b6080 commit 6bebd01

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/vim9class.jax

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9class.txt* For Vim バージョン 9.1. Last change: 2025 Apr 21
1+
*vim9class.txt* For Vim バージョン 9.1. Last change: 2025 Jul 24
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -581,6 +581,8 @@ Shape, Square および Triangle を使用した上記の例は、オブジェ
581581
インターフェイスは、スーパーインターフェイスからすべてのインスタンス変数とメ
582582
ソッドを継承する。
583583

584+
関数内でインターフェイスを定義することはできない。 *E1436*
585+
584586
==============================================================================
585587

586588
6. さらなるクラスの詳細 *Vim9-class* *Class* *class*
@@ -957,7 +959,7 @@ Note メソッド名は "new" で始まる必要があることに注意。"new(
957959
方法では列挙型インスタンスを作成できない。
958960

959961
列挙型は |Vim9| script ファイルでのみ定義できる。 *E1414*
960-
列挙型は関数内で定義できない。
962+
列挙型は関数内で定義できない。 *E1435*
961963

962964
*E1415*
963965
列挙名は大文字で始めなければならない。列挙型内の列挙値の名前は、大文字または小

en/vim9class.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9class.txt* For Vim version 9.1. Last change: 2025 Apr 21
1+
*vim9class.txt* For Vim version 9.1. Last change: 2025 Jul 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -584,6 +584,8 @@ protected object methods, class variables and class methods.
584584
An interface can extend another interface using "extends". The sub-interface
585585
inherits all the instance variables and methods from the super interface.
586586

587+
An interface cannot be defined inside a function. *E1436*
588+
587589
==============================================================================
588590

589591
6. More class details *Vim9-class* *Class* *class*
@@ -971,7 +973,7 @@ of that class. Unlike typical object instantiation with the |new()| method,
971973
enum instances cannot be created this way.
972974

973975
An enum can only be defined in a |Vim9| script file. *E1414*
974-
An enum cannot be defined inside a function.
976+
An enum cannot be defined inside a function. *E1435*
975977

976978
*E1415*
977979
An enum name must start with an uppercase letter. The name of an enum value

0 commit comments

Comments
 (0)