changeset 26558:ad00a5cb005d v8.2.3808

patch 8.2.3808: Vim9: obsolete TODO items Commit: https://github.com/vim/vim/commit/919c12c19a9785b856bc32dfe6cd8e9277178b62 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 14 14:29:16 2021 +0000 patch 8.2.3808: Vim9: obsolete TODO items Problem: Vim9: obsolete TODO items Solution: Remove the comments.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 15:30:04 +0100
parents 8f42f812c815
children 177872ca0db9
files src/version.c src/vim9execute.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -750,6 +750,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3808,
+/**/
     3807,
 /**/
     3806,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -680,7 +680,9 @@ func_return(ectx_T *ectx)
 	}
     }
 #endif
-    // TODO: when is it safe to delete the function when it is no longer used?
+
+    // No check for uf_refcount being zero, cannot think of a way that would
+    // happen.
     --dfunc->df_ufunc->uf_calls;
 
     // execution context goes one level up
@@ -5623,7 +5625,6 @@ list_instructions(char *pfx, isn_T *inst
 		}
 		break;
 	    case ISN_CATCH:
-		// TODO
 		smsg("%s%4d CATCH", pfx, current);
 		break;
 	    case ISN_TRYCONT:
@@ -5819,7 +5820,6 @@ list_instructions(char *pfx, isn_T *inst
 					     (long)iptr->isn_arg.put.put_lnum);
 		break;
 
-		// TODO: summarize modifiers
 	    case ISN_CMDMOD:
 		{
 		    char_u  *buf;