737efdac1b
This changes the way binding dependencies works slightly, to ensure that the full transitive closure of dependencies is bound appropriately before hitting code-generation. Namely, now binder.PrepareStack returns a list of unresolved dependency Refs; the compiler is responsible for turning this into a map from Ref to the loaded diag.Document, before calling BindStack; then, BindStack instantiates these as necessary (template expansion, etc), returning an array of unbound *ast.Stacks that the compiler must then bind. |
||
---|---|---|
.. | ||
names.go | ||
names_test.go | ||
refs.go | ||
refs_test.go | ||
stable.go | ||
types.go | ||
versions.go | ||
versions_test.go |