View definition


Defined in


CreatePackage constructs and returns an SSA Package from the specified type-checked, error-free file ASTs, and populates its Members mapping.

importable determines whether this package should be returned by a subsequent call to ImportedPackage(pkg.Path()).

The real work of building SSA form for each function is not done until a subsequent call to Package.Build().