Hi,

When a function accepts an argument of class type, the argument
type check is not working properly.  Example:

---------------------------------------------------
vim9script

class One
endclass

class Two
endclass

def Show(a: One)
    echomsg a->string()
enddef

var b = Two.new()
Show(b)
------------------------------------------------------

In this example, the function Show() accepts an argument of type "One".
But when the function is called with an argument of type "Two", there is
no error.

Regards,
Yegappan

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7k_Jj3MwJmgDJFk84256oxGE-heU6uRH5uZ6ZGwx_qx%3Dw%40mail.gmail.com.

Raspunde prin e-mail lui