mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix extra ampersands
This commit is contained in:
parent
b6116eeb98
commit
899cbeabd7
79 changed files with 372 additions and 376 deletions
|
@ -56,10 +56,10 @@ pub fn make_solved_types(
|
|||
for loc_named_var in alias.type_variables.iter() {
|
||||
let (name, var) = &loc_named_var.value;
|
||||
|
||||
args.push((name.clone(), SolvedType::new(&solved_subs, *var)));
|
||||
args.push((name.clone(), SolvedType::new(solved_subs, *var)));
|
||||
}
|
||||
|
||||
let solved_type = SolvedType::from_type(&solved_subs, &alias.typ);
|
||||
let solved_type = SolvedType::from_type(solved_subs, &alias.typ);
|
||||
let solved_alias = SolvedType::Alias(*symbol, args, Box::new(solved_type));
|
||||
|
||||
solved_types.insert(*symbol, solved_alias);
|
||||
|
@ -71,7 +71,7 @@ pub fn make_solved_types(
|
|||
// other modules will generate constraints for imported values
|
||||
// within the context of their own Subs.
|
||||
for (symbol, var) in exposed_vars_by_symbol.iter() {
|
||||
let solved_type = SolvedType::new(&solved_subs, *var);
|
||||
let solved_type = SolvedType::new(solved_subs, *var);
|
||||
|
||||
solved_types.insert(*symbol, solved_type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue