Commit: runtime(doc): remove thoughts of generics for a function

1 view
Skip to first unread message

Christian Brabandt

unread,
Mar 7, 2026, 4:46:58 AMMar 7
to vim...@googlegroups.com
runtime(doc): remove thoughts of generics for a function

Commit: https://github.com/vim/vim/commit/bd77d327d32a87826612d9ed2d4b2c1493651dbd
Author: Mao-Yining <mao.y...@outlook.com>
Date: Thu Mar 5 20:55:39 2026 +0000

runtime(doc): remove thoughts of generics for a function

Was implemented in 9.1.1577

closes: #19598

Signed-off-by: Mao-Yining <mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt
index 32484bebf..6f936a01c 100644
--- a/runtime/doc/vim9class.txt
+++ b/runtime/doc/vim9class.txt
@@ -1,4 +1,4 @@
-*vim9class.txt* For Vim version 9.2. Last change: 2026 Feb 14
+*vim9class.txt* For Vim version 9.2. Last change: 2026 Mar 07


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1354,7 +1354,6 @@ the restrictions?

Thoughts:
- Generics for a class: `class <Tkey, Tentry>`
-- Generics for a function: `def <Tkey> GetLast(key: Tkey)`
- Mixins: not sure if that is useful, leave out for simplicity.

Some things that look like good additions:
Reply all
Reply to author
Forward
0 new messages