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. |
||
---|---|---|
.. | ||
backends | ||
core | ||
predef | ||
testdata | ||
binder.go | ||
binder_test.go | ||
common_test.go | ||
compiler.go | ||
compiler_be.go | ||
compiler_fe.go | ||
compiler_sema.go | ||
compiler_test.go | ||
context.go | ||
opts.go | ||
parser.go | ||
parsetree.go | ||
symbols.go | ||
templates.go |