[vim/vim] Can't use 'is' in a oneline vim9 lambda (Issue #20967)

Mao-Yining (Vim Github Repository) <[email protected]> Thu, 06 Aug 2026 23:12:36 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/issues/[email protected]>
mao-yining created an issue (vim/vim#20967)

### Steps to reproduce

lagacy `{-> '2' is# '2'}()` runs well
vim9 `() => '2' ==# '2'` runs well
vim9 `() => '2' is# '2'` thrown `E15`

### Expected behaviour

no `E15`

### Version of Vim

9.2.843

### Environment

Fedora 44, gVim

### Logs and stack traces

```shell

```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/20967
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/issues/[email protected]>

-- 
-- 
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20967%40github.com.