forked from aniani/vim
patch 8.2.1482: Vim9: crash when using a nested lambda
Problem: Vim9: crash when using a nested lambda. Solution: Do not clear the growarray when not evaluating. Correct pointer when getting the next line. (closes #6731)
This commit is contained in:
@@ -1065,7 +1065,8 @@ source_level(void *cookie)
|
||||
}
|
||||
|
||||
/*
|
||||
* Return the readahead line.
|
||||
* Return the readahead line. Note that the pointer may become invalid when
|
||||
* getting the next line, if it's concatenated with the next one.
|
||||
*/
|
||||
char_u *
|
||||
source_nextline(void *cookie)
|
||||
|
Reference in New Issue
Block a user