JuliaLang/julia — Issue #269: handle mutually-circular type declarations
Author: JeffBezanson
Created: 2011-12-01 02:25:50+00:00
State: open
Labels: features

Currently this doesn't work:

```
type Foo
a::Bar
end

type Bar
b::Foo
end
```

A nice way to handle it is to automatically insert forward declarations for all types defined in a file after lowering. That way as long as the types are in the same file it will Just Work.