REALCreateArray with dictionary?

Create array of dictionary via plugin?

If we use REALCreateArray with kTypeObject, but the resulting array shows as Object() array in debugger and can’t be assigned to dictionary.

e.g. we return “result as Variant”, where variant for some call contains an array of dictionary.
dim items() as dictionary = result

will raise TypeMismatchException.
Any idea how to improve this?

As plugin only creates object/variant arrays, we made feedback case <> to allow conversion from array of variant/object to array of dictionary.

The short answer is: the typecasting system of Xojo is incomplete.