mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
write Aliases implementation
This commit is contained in:
parent
a66d23f93d
commit
7d8409f6a6
7 changed files with 175 additions and 35 deletions
|
@ -322,9 +322,9 @@ fn unify_alias(
|
|||
if args.len() == other_args.len() {
|
||||
let mut problems = Vec::new();
|
||||
let it = args
|
||||
.variables()
|
||||
.all_variables()
|
||||
.into_iter()
|
||||
.zip(other_args.variables().into_iter());
|
||||
.zip(other_args.all_variables().into_iter());
|
||||
|
||||
for (l, r) in it {
|
||||
let l_var = subs[l];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue