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 333894b commit 2c79e9dCopy full SHA for 2c79e9d
2 files changed
src/testdir/test_vim9_func.vim
@@ -159,6 +159,19 @@ def Test_nested_global_function()
159
delfunc g:Inner
160
END
161
CheckScriptSuccess(lines)
162
+
163
+ lines =<< trim END
164
+ vim9script
165
+ def Outer()
166
+ def g:Inner(): string
167
+ return 'inner'
168
+ enddef
169
170
+ defcompile
171
+ Outer()
172
173
+ END
174
+ CheckScriptFailure(lines, "E122:")
175
enddef
176
177
def Test_global_local_function()
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
+ 1344,
759
/**/
760
1343,
761
0 commit comments