mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2527: Vim9: lambda return type is not determined at script level
Problem: Vim9: lambda return type is not determined at script level. Solution: Compile the lambda to get the return type. (closes #7843)
This commit is contained in:
@@ -1787,6 +1787,12 @@ typedef struct timeval proftime_T;
|
||||
typedef int proftime_T; // dummy for function prototypes
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_PROFILE
|
||||
# define PROFILING(ufunc) (do_profiling == PROF_YES && (ufunc)->uf_profiling)
|
||||
#else
|
||||
# define PROFILING(ufunc) FALSE
|
||||
#endif
|
||||
|
||||
/*
|
||||
* When compiling with 32 bit Perl time_t is 32 bits in the Perl code but 64
|
||||
* bits elsewhere. That causes memory corruption. Define time_T and use it
|
||||
|
Reference in New Issue
Block a user