Patch 9.0.1046

10 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 10, 2022, 2:04:44 PM12/10/22
to vim...@googlegroups.com

Patch 9.0.1046
Problem: Class method disassemble test fails on MS-Windows.
Solution: Do not match with a specific size.
Files: src/testdir/test_vim9_class.vim


*** ../vim-9.0.1045/src/testdir/test_vim9_class.vim 2022-12-10 18:42:09.094378801 +0000
--- src/testdir/test_vim9_class.vim 2022-12-10 19:02:06.152433041 +0000
***************
*** 166,172 ****

var instr = execute('disassemble TextPosition.new')
assert_match('new\_s*' ..
! '0 NEW TextPosition size 72\_s*' ..
'\d PUSHNR 1\_s*' ..
'\d STORE_THIS 0\_s*' ..
'\d PUSHNR 1\_s*' ..
--- 166,172 ----

var instr = execute('disassemble TextPosition.new')
assert_match('new\_s*' ..
! '0 NEW TextPosition size \d\+\_s*' ..
'\d PUSHNR 1\_s*' ..
'\d STORE_THIS 0\_s*' ..
'\d PUSHNR 1\_s*' ..
*** ../vim-9.0.1045/src/version.c 2022-12-10 18:42:09.098378785 +0000
--- src/version.c 2022-12-10 19:03:19.760399859 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1046,
/**/

--
The software said it requires Windows 95 or better, so I installed Linux.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages