view src/testdir/test10.in @ 31746:d3d3ed2c09f6 v9.0.1205

patch 9.0.1205: crash when handling class that extends another class Commit: https://github.com/vim/vim/commit/ae3205aa55741152b0143dbd7d637b35f576793e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 15 20:49:00 2023 +0000 patch 9.0.1205: crash when handling class that extends another class Problem: Crash when handling class that extends another class with more than one object members. Solution: Correct pointer computations. (closes #11824)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Jan 2023 22:00:03 +0100
parents 9d7914012b82
children
line wrap: on
line source

Test that vim9script also works without the +eval feature.

STARTTEST
:/^START/+1,/^END/-1:w! Xvim9
:so Xvim9
ENDTEST

START
vim9script

if 1
  echo 'this is skipped without +eval'
endif

# colon required for a range
:$-1,$w! test.out
qa!
END

first line
last line