Mercurial > vim
comparison src/testdir/test_vim9_disassemble.vim @ 23310:7951c5098e8e v8.2.2200
patch 8.2.2200: Vim9: lambda without white space around -> is confusing
Commit: https://github.com/vim/vim/commit/27bf7af9d042b396c412fcad7bac59849a4a420f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 23 20:27:31 2020 +0100
patch 8.2.2200: Vim9: lambda without white space around -> is confusing
Problem: Vim9: lambda without white space around -> is confusing.
Solution: Require white space in a :def funtion. (issue https://github.com/vim/vim/issues/7503)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Dec 2020 20:30:04 +0100 |
parents | 00f7cd9b6033 |
children | 9bd3873b13e2 |
comparison
equal
deleted
inserted
replaced
23309:e0a6d49ed3ad | 23310:7951c5098e8e |
---|---|
1539 ['{a: 1} == aDict', 'COMPAREDICT =='], | 1539 ['{a: 1} == aDict', 'COMPAREDICT =='], |
1540 ['{a: 1} != aDict', 'COMPAREDICT !='], | 1540 ['{a: 1} != aDict', 'COMPAREDICT !='], |
1541 ['{a: 1} is aDict', 'COMPAREDICT is'], | 1541 ['{a: 1} is aDict', 'COMPAREDICT is'], |
1542 ['{a: 1} isnot aDict', 'COMPAREDICT isnot'], | 1542 ['{a: 1} isnot aDict', 'COMPAREDICT isnot'], |
1543 | 1543 |
1544 ['{->33} == {->44}', 'COMPAREFUNC =='], | 1544 ['{-> 33} == {-> 44}', 'COMPAREFUNC =='], |
1545 ['{->33} != {->44}', 'COMPAREFUNC !='], | 1545 ['{-> 33} != {-> 44}', 'COMPAREFUNC !='], |
1546 ['{->33} is {->44}', 'COMPAREFUNC is'], | 1546 ['{-> 33} is {-> 44}', 'COMPAREFUNC is'], |
1547 ['{->33} isnot {->44}', 'COMPAREFUNC isnot'], | 1547 ['{-> 33} isnot {-> 44}', 'COMPAREFUNC isnot'], |
1548 | 1548 |
1549 ['77 == g:xx', 'COMPAREANY =='], | 1549 ['77 == g:xx', 'COMPAREANY =='], |
1550 ['77 != g:xx', 'COMPAREANY !='], | 1550 ['77 != g:xx', 'COMPAREANY !='], |
1551 ['77 > g:xx', 'COMPAREANY >'], | 1551 ['77 > g:xx', 'COMPAREANY >'], |
1552 ['77 < g:xx', 'COMPAREANY <'], | 1552 ['77 < g:xx', 'COMPAREANY <'], |