Yegappan Lakshmanan wrote:

> When a non-existing dictionary function is invoked using the ":call"
> command, there is no error. But when it is used in an expression,
> an error message is displayed. Is this the expected behavior?
> 
>    let a = {}
>    call a.xyz()
> 
> The ":call" command silently returns without any errors. But
> the following commands result in error:
> 
> :let x = a.xyz()
> E716: Key not present in Dictionary: xyz()
> E15: Invalid expression: a.xyz()
> 
> :echo a.xyz()
> E716: Key not present in Dictionary: xyz()
> E15: Invalid expression: a.xyz()

I'll fix it.

-- 
>From "know your smileys":
 :-*    A big kiss!

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to