Open boaks opened 5 years ago
This chould already be fixed in master since some point after the new type system. Are you using master or the XDK Workbench 3.*? Nope, not fixed.
We might have to do something similar to how we handle system resource initialization and create a graph of dependencies, then do a topological sort.
Since structs may reference one another via references, those have to be excluded when collecting dependencies, and forward declared when translating.
Results in
and error: "unknown type name 'Feature'"