mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
move things in place to go storage_subs -> subs
This commit is contained in:
parent
fa74cf1424
commit
9054546d27
3 changed files with 13 additions and 6 deletions
|
@ -22,12 +22,10 @@ pub fn run_solve(
|
|||
constraints: &Constraints,
|
||||
constraint: ConstraintSoa,
|
||||
rigid_variables: MutMap<Variable, Lowercase>,
|
||||
var_store: VarStore,
|
||||
mut subs: Subs,
|
||||
) -> (Solved<Subs>, solve::Env, Vec<solve::TypeError>) {
|
||||
let env = solve::Env::default();
|
||||
|
||||
let mut subs = Subs::new_from_varstore(var_store);
|
||||
|
||||
for (var, name) in rigid_variables {
|
||||
subs.rigid_var(var, name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue