patch 9.1.1232: Vim script is missing the tuple data type
Problem: Vim script is missing the tuple data type
Solution: Add support for the tuple data type
(Yegappan Lakshmanan)
closes: #16776
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index 21f894e..5c88ec6 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -7519,6 +7519,16 @@
endfor
endfunc
+" Test for 'for' loop failures
+func Test_for_loop_failure()
+ func ForFn()
+ for x in test_null_job()
+ endfor
+ endfunc
+ call assert_fails('call ForFn()', 'E1523: String, List, Tuple or Blob required')
+ delfunc ForFn
+endfunc
+
" Test for deeply nested :source command {{{1
func Test_deeply_nested_source()
let lines =<< trim END