Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Vim9 function returning list crashes Vim
15 views
Skip to first unread message
Yegappan Lakshmanan
unread,
Mar 25, 2020, 1:28:20 PM
3/25/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
Hi all,
The following Vim9 function crashes Vim.
def F1(): list
return [1, 2, 3]
enddef
echo F1()
- Yegappan
Yegappan Lakshmanan
unread,
Mar 25, 2020, 1:53:23 PM
3/25/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
Hi,
On Wed, Mar 25, 2020 at 10:28 AM Yegappan Lakshmanan <
yega...@gmail.com
> wrote:
Hi all,
The following Vim9 function crashes Vim.
def F1(): list
return [1, 2, 3]
enddef
echo F1()
If list<number> is used as the return type instead of list, then this works.
A similar crash is seen if list<dict> is used instead of list<dict<any>>
- Yegappan
Reply all
Reply to author
Forward
0 new messages