view src/testdir/test_vim9_fails.vim @ 24786:524120691c3d v8.2.2931

patch 8.2.2931: Vim9: line continuation comment uses legacy syntax Commit: https://github.com/vim/vim/commit/5072b47a223fb044041b8e7db59a17b3b1d8a625 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 3 21:56:10 2021 +0200 patch 8.2.2931: Vim9: line continuation comment uses legacy syntax Problem: Vim9: line continuation comment still uses legacy syntax in one place. Solution: Check for #\ instead of "\ earlier. (closes #8316)
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jun 2021 22:00:04 +0200
parents a3df1fb28d44
children 744fdb15347d
line wrap: on
line source

" Test for Vim9 script with failures, causing memory leaks to be reported.
" The leaks happen after a fork() and can be ignored.

def Test_assignment()
  if has('channel')
    var chan1: channel
    var job1: job
    var job2: job = job_start('willfail')
  endif
enddef