]> granicus.if.org Git - vim/commitdiff
patch 8.2.3808: Vim9: obsolete TODO items v8.2.3808
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Dec 2021 14:29:16 +0000 (14:29 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Dec 2021 14:29:16 +0000 (14:29 +0000)
Problem:    Vim9: obsolete TODO items
Solution:   Remove the comments.

src/version.c
src/vim9execute.c

index 08bfba17be5b0458077602a9677c421fbf703041..6410f4fa803bcebdf4e60643d1db4118acde5dd9 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3808,
 /**/
     3807,
 /**/
index c5334983e2078cde2b6b16c081088ad1c8b09e54..3160f0df2e1d325b41a494d77a37d1bbb09a1834 100644 (file)
@@ -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 *instr, int instr_count, ufunc_T *ufunc)
                }
                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 *instr, int instr_count, ufunc_T *ufunc)
                                             (long)iptr->isn_arg.put.put_lnum);
                break;
 
-               // TODO: summarize modifiers
            case ISN_CMDMOD:
                {
                    char_u  *buf;