Rename env to scope

This commit is contained in:
Ayaz Hafiz 2023-06-22 11:37:54 -05:00
parent 683b586f60
commit d1dad56331
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 72 additions and 65 deletions

View file

@ -5154,7 +5154,7 @@ fn run_solve_solve(
// Expose anything that is explicitly exposed by the header, or is a specialization of an
// ability.
let exposed_vars_by_symbol: Vec<_> = solve_output
.env
.scope
.vars_by_symbol()
.filter(|(k, _)| {
exposed_symbols.contains(k)
@ -5168,7 +5168,7 @@ fn run_solve_solve(
let roc_solve::module::SolveOutput {
subs,
env: _,
scope: _,
errors,
resolved_abilities_store,
} = solve_output;