From 1a71d31bf34b0b2b08517903826004ec6fd440e5 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Thu, 15 Jul 2021 12:49:58 +0200 Subject: patch 8.2.3162: Vim9: argument types are not checked at compile time Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560) --- runtime/doc/channel.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc/channel.txt') diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index 6e5cfc8356..4049f22b44 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -852,7 +852,7 @@ available. job_getchannel({job}) *job_getchannel()* Get the channel handle that {job} is using. To check if the job has no channel: > - if string(job_getchannel()) == 'channel fail' + if string(job_getchannel(job)) == 'channel fail' < Can also be used as a |method|: > GetJob()->job_getchannel() -- cgit v1.2.3