[vim/vim] vim9: :source of ":finish" can hang vim (Issue #9988)

12 views
Skip to first unread message

errael

unread,
Mar 21, 2022, 1:46:00 PM3/21/22
to vim/vim, Subscribed

Steps to reproduce

Start gvim with a buffer of

vim9script
echo 'here'
finish

run

:source

Observe a screen full of here. ^C stops it.

Delete the echo line. Run :source again. Observe gvim hangs and must be killed.

Take out the finish and things work as expected

Expected behaviour

finish doesn't cause problems

Version of Vim

8.2.4602

Environment

ubuntu, gtk3

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9988@github.com>

Yegappan Lakshmanan

unread,
Mar 21, 2022, 2:08:28 PM3/21/22
to vim_dev, reply+ACY5DGD6BBY6QPC6UU...@reply.github.com, vim/vim, Subscribed
Hi,

The support for sourcing a Vim9 script (https://github.com/vim/vim/pull/9974) is not yet merged.
This problem will be addressed by that PR.

- Yegappan

vim-dev ML

unread,
Mar 21, 2022, 2:08:47 PM3/21/22
to vim/vim, vim-dev ML, Your activity

Hi,

The support for sourcing a Vim9 script (https://github.com/vim/vim/pull/9974)
is not yet merged.
This problem will be addressed by that PR.

- Yegappan

On Mon, Mar 21, 2022 at 10:45 AM errael ***@***.***> wrote:

> Steps to reproduce
>
> Start gvim with a buffer of
>
> vim9script
> echo 'here'
> finish
>
> run
>
> :source
>
> Observe a screen full of here. ^C stops it.
>
> Delete the echo line. Run :source again. Observe gvim hangs and must be
> killed.
>
> Take out the finish and things work as expected
> Expected behaviour
>
> finish doesn't cause problems
> Version of Vim
>
> 8.2.4602
> Environment
>
> ubuntu, gtk3
> Logs and stack traces
>
> *No response*
>
>
>


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9988/1074243911@github.com>

errael

unread,
Mar 21, 2022, 2:12:55 PM3/21/22
to vim/vim, vim-dev ML, Comment

Closed #9988.


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issue/9988/issue_event/6277824700@github.com>

errael

unread,
Mar 21, 2022, 2:12:55 PM3/21/22
to vim/vim, vim-dev ML, Comment

Oops, misunderstood/anxious, clearly want to get my hands on it. Apologies for the noise.


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issues/9988/1074247814@github.com>

errael

unread,
Mar 21, 2022, 2:16:41 PM3/21/22
to vim/vim, vim-dev ML, Comment

Then again the script,

echo 'here'
finish

also hangs vim. So not a vim9issue


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issues/9988/1074251761@github.com>

errael

unread,
Mar 21, 2022, 2:16:41 PM3/21/22
to vim/vim, vim-dev ML, Comment

Reopened #9988.


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issue/9988/issue_event/6277848703@github.com>

errael

unread,
Mar 21, 2022, 4:07:52 PM3/21/22
to vim/vim, vim-dev ML, Comment

Both cases work with 8.2.4604


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issues/9988/1074362706@github.com>

errael

unread,
Mar 21, 2022, 4:07:52 PM3/21/22
to vim/vim, vim-dev ML, Comment

Closed #9988.


Reply to this email directly, view it on GitHub.

You are receiving this because you commented.Message ID: <vim/vim/issue/9988/issue_event/6278527801@github.com>

Reply all
Reply to author
Forward
0 new messages