diff --git a/doc/vim9.jax b/doc/vim9.jax index 2286b91c1..c3b5441fb 100644 --- a/doc/vim9.jax +++ b/doc/vim9.jax @@ -1,4 +1,4 @@ -*vim9.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14 +*vim9.txt* For Vim バージョン 9.2. Last change: 2026 May 04 VIM リファレンスマニュアル by Bram Moolenaar @@ -2335,11 +2335,6 @@ script と Vim9 script の両方で、辞書以外の値が必要なときに、 let &laststatus=v:true vim9cmd &laststatus = true -< - - 引数に文字列が必要な場合に文字列を使用しない (|E1174|) >vim - - echo substitute('Hallo', 'a', 'e', v:true) - vim9cmd echo substitute('Hallo', 'a', 'e', true) # E1174: String... < 結果として、|map()| に渡されるリストまたは辞書の項目の型は、その型が宣言または 推論された場合でも変更してはいけない。例えば、これは Vim9 script ではエラーに diff --git a/en/vim9.txt b/en/vim9.txt index b107d62c7..5d6b71b5c 100644 --- a/en/vim9.txt +++ b/en/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*vim9.txt* For Vim version 9.2. Last change: 2026 May 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2355,11 +2355,6 @@ in Vim9 script. let &laststatus=v:true vim9cmd &laststatus = true -< - - Not using a string where an argument requires a string (|E1174|) >vim - - echo substitute('Hallo', 'a', 'e', v:true) - vim9cmd echo substitute('Hallo', 'a', 'e', true) # E1174: String... < One consequence is that the item type of a list or dict given to |map()| must not change when its type is either declared or inferred. For example, this