mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Don't pass around an unnecessary Env
This commit is contained in:
parent
db96f3d208
commit
0f1e1d7659
3 changed files with 3 additions and 13 deletions
|
@ -40,8 +40,6 @@ pub fn run_solve(
|
|||
Vec<solve::TypeError>,
|
||||
AbilitiesStore,
|
||||
) {
|
||||
let env = solve::Env::default();
|
||||
|
||||
for (var, name) in rigid_variables.named {
|
||||
subs.rigid_var(var, name);
|
||||
}
|
||||
|
@ -61,7 +59,6 @@ pub fn run_solve(
|
|||
// Run the solver to populate Subs.
|
||||
let (solved_subs, solved_env) = solve::run(
|
||||
constraints,
|
||||
&env,
|
||||
&mut problems,
|
||||
subs,
|
||||
&mut aliases,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue