patch 8.2.1154: Vim9: crash when using imported function
Problem: Vim9: crash when using imported function. Solution: Check for a function type. Set the script context when calling a function. (closes #6412)
Showing
- src/evalvars.c 25 additions, 9 deletionssrc/evalvars.c
- src/proto/scriptfile.pro 2 additions, 2 deletionssrc/proto/scriptfile.pro
- src/scriptfile.c 8 additions, 5 deletionssrc/scriptfile.c
- src/structs.h 3 additions, 0 deletionssrc/structs.h
- src/testdir/test_vim9_script.vim 31 additions, 2 deletionssrc/testdir/test_vim9_script.vim
- src/version.c 2 additions, 0 deletionssrc/version.c
- src/vim9execute.c 13 additions, 2 deletionssrc/vim9execute.c
Loading
Please register or sign in to comment