patch 8.2.4574: Vim9: test for profiling fails

Problem:    Vim9: test for profiling fails.
Solution:   Mark function for profiling earlier to avoid E1271.
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index dfa2a2d..ec0d547 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -3944,13 +3944,13 @@
       def Profile()
         profile start Xprofile.log
         profile func ProfiledWithLambda
-        ProfiledWithLambda()
-
+        # mark ProfiledNested for profiling to avoid E1271
         profile func ProfiledNested
+        ProfiledWithLambda()
         ProfiledNested()
 
-        # Also profile the nested function.  Use a different function, although the
-        # contents is the same, to make sure it was not already compiled.
+        # Also profile the nested function.  Use a different function, although
+        # the contents is the same, to make sure it was not already compiled.
         profile func *
         g:ProfiledNestedProfiled()
 
diff --git a/src/version.c b/src/version.c
index 9e5e142..4dfbdd5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4574,
+/**/
     4573,
 /**/
     4572,