diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-19 21:04:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-19 21:04:23 +0200 |
commit | ac2cd2b08f0fd15e9c3759da043e9b28da80dca8 (patch) | |
tree | 784f7dae2ebe9f5c70af4e4ab7fa7a543a36c56b /src/testdir | |
parent | 6106504e9edc8500131f7a36e59bc146f90180fa (diff) |
patch 8.2.3185: Vim9: start of inline function found in comment linev8.2.3185
Problem: Vim9: start of inline function found in comment line.
Solution: Do not check for inline function in comment line. (closes #8589)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_vim9_expr.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim index e7c08f4af0..49109c7df4 100644 --- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -2075,6 +2075,10 @@ def Test_expr7_lambda_block() }) assert_equal(['no', 'yes', 'no'], dll) + # ignored_inline(0, (_) => { + # echo 'body' + # }) + sandbox var Safe = (nr: number): number => { return nr + 7 } |