Hi all,

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()

- Yegappan

Reply via email to