Allow lambdas to be used with jobs, timers and dictwatchers.

This commit is contained in:
Michael Ennen
2016-12-19 20:09:07 -07:00
parent bae8a19c63
commit ef8701610b
9 changed files with 183 additions and 180 deletions

View File

@@ -344,7 +344,7 @@ static int _TYPVAL_ENCODE_CONVERT_ONE_VALUE(
case VAR_PARTIAL: {
partial_T *const pt = tv->vval.v_partial;
(void)pt;
TYPVAL_ENCODE_CONV_FUNC_START(tv, (pt == NULL ? NULL : pt->pt_name));
TYPVAL_ENCODE_CONV_FUNC_START(tv, (pt == NULL ? NULL : partial_name(pt)));
_mp_push(*mpstack, ((MPConvStackVal) {
.type = kMPConvPartial,
.tv = tv,