Mike Gerwitz
7857460c1d
A new AirAggregate parser is utilized for each package import. This prevents us from moving the index from `Asg` onto `AirAggregateCtx` because the index would be dropped between each import. This allows re-using that context and solves for problems that result from attempting to do so, as explained in the new `resume_previous_parsing_context` test case. But, it's now clear that there's a missing abstraction, and that reasoning about this problem at the topmost level of the compiler/linker in terms of internal parsing details like "context" is not appropriate. What we're doing is suspending parsing and resuming it later on for another package, aggregating into the same destination (ASG + index). An abstraction ought to be formed in terms of that. DEV-13162 |
||
---|---|---|
.. | ||
expr | ||
test | ||
tpl | ||
expr.rs | ||
ir.rs | ||
opaque.rs | ||
pkg.rs | ||
test.rs | ||
tpl.rs |