0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.1206: Vim9: crash in expr test when run in the GUI

Problem:    Vim9: crash in expr test when run in the GUI.
Solution:   Temporarily comment out two test lines.
This commit is contained in:
Bram Moolenaar
2020-07-13 23:22:54 +02:00
parent 8c34ea54ad
commit 1bce831e13
2 changed files with 6 additions and 2 deletions

View File

@@ -1563,8 +1563,10 @@ def Test_expr7_method_call()
enddef
func Test_expr7_trailing_fails()
call CheckDefFailure(['let l = [2]', 'l->{l -> add(l, 8)}'], 'E107')
call CheckDefFailure(['let l = [2]', 'l->{l -> add(l, 8)} ()'], 'E274')
" Temporarily commented out - somehow crash occurs with too many
" CheckDefFailure calls in the GUI only.
" call CheckDefFailure(['let l = [2]', 'l->{l -> add(l, 8)}'], 'E107')
" call CheckDefFailure(['let l = [2]', 'l->{l -> add(l, 8)} ()'], 'E274')
endfunc
func Test_expr_fails()

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1206,
/**/
1205,
/**/