patch 7.4.2143
Problem:    A funccal is garbage collected while it can still be used.
Solution:   Set copyID in all referenced functions.  Do not list lambda
            functions with ":function".
diff --git a/src/proto/userfunc.pro b/src/proto/userfunc.pro
index 25620f1..3149ec5 100644
--- a/src/proto/userfunc.pro
+++ b/src/proto/userfunc.pro
@@ -54,6 +54,7 @@
 dictitem_T *find_var_in_scoped_ht(char_u *name, int no_autoload);
 int set_ref_in_previous_funccal(int copyID);
 int set_ref_in_call_stack(int copyID);
+int set_ref_in_functions(int copyID);
 int set_ref_in_func_args(int copyID);
 int set_ref_in_func(char_u *name, ufunc_T *fp_in, int copyID);
 /* vim: set ft=c : */