Script - types within other types

Hi,

I’m looking through the documentation of creating object types using scripts and I’m running into an issue when initializing types within another type.

Documentation link:

Examples 2 and 3 are what I’m trying to understand. I tried different ways to initialize the object but fail to do so. When I tried this “type Point” example directly from the documentation and it still does not work, this made me think if this is a bug.


If there already exist a case similar to this please let me know.

Would really appreciate the help. Thanks in advance.

Best regards,
Renz

Hi Renz,

I’ve just checked this issue, and despite it shows there are errors in your code, the workflow itself works.

I think, this is more like a bug in the code checking algorithm, but it has no effect on the workflow.

In this example I have some errors, but still can run the app:

Best,
Zoltan

1 Like