Problem: In Vim9 script a line break before "->(" makes Vim hang and
use up memory.
Solution: Consume the line break for "->(" as well, and skip white
space after "->" in a compiled function too.
fixes: #21144
https://github.com/vim/vim/pull/21147
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21147%40github.com.
The backslash case already worked before this patch. Continuation lines are
concatenated into one line before the expression is parsed, so they never
reach the code this patch changes. I checked on a 9.2.1001 build without the
patch: only the version without a backslash hangs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you commented.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you commented.![]()