We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef2102 commit b9a2cacCopy full SHA for b9a2cac
2 files changed
src/testdir/test_vim9_script.vim
@@ -1651,6 +1651,19 @@ def Test_func_overrules_import_fails()
1651
delete('XexportedFunc.vim')
1652
enddef
1653
1654
+def Test_func_redefine_fails()
1655
+ let lines =<< trim END
1656
+ vim9script
1657
+ def Func()
1658
+ echo 'one'
1659
+ enddef
1660
1661
+ echo 'two'
1662
1663
+ END
1664
+ CheckScriptFailure(lines, 'E1073:')
1665
+enddef
1666
+
1667
def Test_fixed_size_list()
1668
# will be allocated as one piece of memory, check that changes work
1669
let l = [1, 2, 3, 4]
src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
754
755
static int included_patches[] =
756
{ /* Add new patch number below this line */
757
+/**/
758
+ 1350,
759
/**/
760
1349,
761
0 commit comments