To: vim_dev@googlegroups.com Subject: Patch 8.2.4574 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4574 Problem: Vim9: test for profiling fails. Solution: Mark function for profiling earlier to avoid E1271. Files: src/testdir/test_vim9_script.vim *** ../vim-8.2.4573/src/testdir/test_vim9_script.vim 2022-03-14 10:50:16.382185007 +0000 --- src/testdir/test_vim9_script.vim 2022-03-15 16:12:32.167658264 +0000 *************** *** 3944,3956 **** def Profile() profile start Xprofile.log profile func ProfiledWithLambda ! ProfiledWithLambda() ! profile func ProfiledNested ProfiledNested() ! # 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() --- 3944,3956 ---- def Profile() profile start Xprofile.log profile func 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. profile func * g:ProfiledNestedProfiled() *** ../vim-8.2.4573/src/version.c 2022-03-15 15:57:00.426428445 +0000 --- src/version.c 2022-03-15 16:13:31.135515370 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4574, /**/ -- hundred-and-one symptoms of being an internet addict: 270. You are subscribed to a mailing list for every piece of software you use. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///