Skip to content

Commit

Permalink
patch 8.2.3808: Vim9: obsolete TODO items
Browse files Browse the repository at this point in the history
Problem:    Vim9: obsolete TODO items
Solution:   Remove the comments.
  • Loading branch information
brammool committed Dec 14, 2021
1 parent f8a79fc commit 919c12c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3808,
/**/
3807,
/**/
Expand Down
6 changes: 3 additions & 3 deletions src/vim9execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand 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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 919c12c

Please sign in to comment.