diff src/vim9execute.c @ 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 28745eec1dda
children 454a1c9ef797
line wrap: on
line diff
--- 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;