summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-14 14:29:16 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-14 14:29:16 +0000
commit919c12c19a9785b856bc32dfe6cd8e9277178b62 (patch)
tree05287c4565df1c3dd98434cb94bd814f96b02de9
parentf8a79fc3468645019532331bf8b36d1f7b403ef4 (diff)
downloadvim-git-919c12c19a9785b856bc32dfe6cd8e9277178b62.tar.gz
patch 8.2.3808: Vim9: obsolete TODO itemsv8.2.3808
Problem: Vim9: obsolete TODO items Solution: Remove the comments.
-rw-r--r--src/version.c2
-rw-r--r--src/vim9execute.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/version.c b/src/version.c
index 08bfba17b..6410f4fa8 100644
--- 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,
diff --git a/src/vim9execute.c b/src/vim9execute.c
index c5334983e..3160f0df2 100644
--- 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 *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;