Patch 8.2.1153
Problem:    Vim9: script test fails on some systems.
Solution:   Return proper value from Compare().
Files:      src/testdir/test_vim9_script.vim


*** ../vim-8.2.1152/src/testdir/test_vim9_script.vim    2020-07-07 
22:50:08.831459969 +0200
--- src/testdir/test_vim9_script.vim    2020-07-07 23:30:27.846652786 +0200
***************
*** 986,992 ****
    let sortlines =<< trim END
        vim9script
        def Compare(i1: number, i2: number): number
!         return 1
        enddef
  
        export def FastSort(): list<number>
--- 986,992 ----
    let sortlines =<< trim END
        vim9script
        def Compare(i1: number, i2: number): number
!         return i2 - i1
        enddef
  
        export def FastSort(): list<number>
*** ../vim-8.2.1152/src/version.c       2020-07-07 22:50:08.835459935 +0200
--- src/version.c       2020-07-07 23:31:14.150445217 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1153,
  /**/

-- 
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202007072132.067LWs6G1185529%40masaka.moolenaar.net.

Raspunde prin e-mail lui