mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
short-circuit aliases
This commit is contained in:
parent
f30c07edd0
commit
c18befeccf
3 changed files with 24 additions and 22 deletions
|
@ -17,14 +17,13 @@ pub struct SolvedModule {
|
|||
}
|
||||
|
||||
pub fn run_solve(
|
||||
aliases: MutMap<Symbol, Alias>,
|
||||
rigid_variables: MutMap<Variable, Lowercase>,
|
||||
constraint: Constraint,
|
||||
var_store: VarStore,
|
||||
) -> (Solved<Subs>, solve::Env, Vec<solve::TypeError>) {
|
||||
let env = solve::Env {
|
||||
vars_by_symbol: MutMap::default(),
|
||||
aliases,
|
||||
aliases: MutMap::default(),
|
||||
};
|
||||
|
||||
let mut subs = Subs::new_from_varstore(var_store);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue