mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
patch 8.1.0619: :echomsg and :echoerr do not handle List and Dict
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. (Daniel Hahler) Solution: Be more tolerant about the expression result type.
This commit is contained in:
@@ -396,7 +396,6 @@ static void f_strftime(typval_T *argvars, typval_T *rettv);
|
||||
#endif
|
||||
static void f_strgetchar(typval_T *argvars, typval_T *rettv);
|
||||
static void f_stridx(typval_T *argvars, typval_T *rettv);
|
||||
static void f_string(typval_T *argvars, typval_T *rettv);
|
||||
static void f_strlen(typval_T *argvars, typval_T *rettv);
|
||||
static void f_strcharpart(typval_T *argvars, typval_T *rettv);
|
||||
static void f_strpart(typval_T *argvars, typval_T *rettv);
|
||||
@@ -12475,7 +12474,7 @@ f_stridx(typval_T *argvars, typval_T *rettv)
|
||||
/*
|
||||
* "string()" function
|
||||
*/
|
||||
static void
|
||||
void
|
||||
f_string(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
char_u *tofree;
|
||||
|
Reference in New Issue
Block a user