Mercurial > vim
view src/testdir/test_version.vim @ 34748:529709e74c11 v9.1.0252
patch 9.1.0252: Vim9: segfault with static in super class
Commit: https://github.com/vim/vim/commit/2ed5a11b1a84c86b5392110a81302ae038b5c554
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Apr 1 14:50:41 2024 +0200
patch 9.1.0252: Vim9: segfault with static in super class
Problem: Vim9: segfault with static in super class
(Ernie Rael)
Solution: When initializing lhs, use the correct class where a class
variable is defined (Yegappan Lakshmanan)
fixes: #14352
closes: #14372
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 01 Apr 2024 15:00:09 +0200 |
parents | dfdd973cf0c9 |
children |
line wrap: on
line source
" Test :version Ex command so check.vim so shared.vim func Test_version() " version should always return the same string. let v1 = execute('version') let v2 = execute('version') call assert_equal(v1, v2) call assert_match("^\n\nVIM - Vi IMproved .*", v1) endfunc func Test_version_redirect() CheckNotGui CheckCanRunGui CheckUnix call RunVim([], [], '--clean -g --version >Xversion 2>&1') call assert_match('Features included', readfile('Xversion')->join()) call delete('Xversion') endfunc " vim: shiftwidth=2 sts=2 expandtab