Patch 8.0.0351
Problem: No test for concatenating an empty string that results from out of
bounds indexing.
Solution: Add a simple test.
Files: src/testdir/test_expr.vim
*** ../vim-8.0.0350/src/testdir/test_expr.vim 2016-10-02 16:51:32.744592886
+0200
--- src/testdir/test_expr.vim 2017-01-27 22:12:24.710617084 +0100
***************
*** 473,475 ****
--- 473,480 ----
call setmatches(set)
call assert_equal(exp, getmatches())
endfunc
+
+ func Test_empty_concatenate()
+ call assert_equal('b', 'a'[4:0] . 'b')
+ call assert_equal('b', 'b' . 'a'[4:0])
+ endfunc
*** ../vim-8.0.0350/src/version.c 2017-02-23 13:45:54.177548173 +0100
--- src/version.c 2017-02-23 13:48:52.476417616 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 351,
/**/
--
A)bort, R)etry, P)lease don't bother me again
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.