Doesn't properly handle forward declarations
When a structure is defined as empty at the beginning of a file and later defined as having data it only creates a `type somename = object {.bycopy.}` statement for the type without any of the fields. The below snippet is an example of such an error.

```
struct somename;

int helloworld(struct somename* input);

struct somename {
  int field1;
  int field2;
};
```