Problem: In Vim9 script, listener_add() given only a callback fails
with "E1212: Bool required for argument 3".
Solution: Check the third argument only when the second one is there.
Without a second argument the third is not filled in, so
what was checked was whatever happened to be in that slot.
https://github.com/vim/vim/pull/21116
(2 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.![]()
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 are subscribed to this thread.![]()