pub fn resolve(
rawast: &RawAst,
foreign: &mut ForeignModules,
env: Env,
tenv: TyEnv,
) -> Result<(Rast, TyEnv)>Expand description
Build the resolved AST on the data layer, env and tenv typed: the
system (resolved and typed), the programs, then the vaddrs, each stage’s
faults reported before the next. Returns it and the system typed, for
typing the programs.