Hi
I see a few lines of code not covered with tests in
call_internal_method() at evalfunc.c:2723. This "if"
block is never entered:
2721 if (global_functions[fi].f_argtype == FEARG_LAST)
2722 {
2723 // base value goes last
2724 for (i = 0; i < argcount; ++i)
2725 argv[i] = argvars[i];
2726 argv[argcount] = *basetv;
2727 }
It seems to be dead code since I don't see where we
assign the value FEARG_LAST:
$ cd vim
$ grep -rn FEARG_LAST .
./evalfunc.c:1205:#define FEARG_LAST 9 // base is the last argument
./evalfunc.c:2721: if (global_functions[fi].f_argtype == FEARG_LAST)
Or am I missing something here?
Regards
Dominique
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAON-T_ikJ12ALk%3D7bjha2HhUSZNnrDUKGe9f0Hewy6SUjccKLQ%40mail.gmail.com.