]> granicus.if.org Git - vim/commit
patch 9.0.0992: Vim9 script: get E1096 when comment follows return v9.0.0992
authormityu <mityu.mail@gmail.com>
Fri, 2 Dec 2022 18:12:05 +0000 (18:12 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 2 Dec 2022 18:12:05 +0000 (18:12 +0000)
commit500c4442834363e02541da564f0b87b82d5783cd
tree1254545d4f0563ce85d0b9450c76ccc85e57a99b
parentc67c89c7589253215d57bad588edcf83a9403560
patch 9.0.0992: Vim9 script: get E1096 when comment follows return

Problem:    Vim9 script: get E1096 when comment follows return.
Solution:   Adjust condition for return without expression. (closes #11654)
src/testdir/test_vim9_func.vim
src/version.c
src/vim9cmds.c