mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Add a notion of "openness" tag extensions suitable only for size-polymorphism
This commit is contained in:
parent
5f5d6a42d1
commit
1c93727822
18 changed files with 302 additions and 233 deletions
|
@ -268,7 +268,7 @@ fn find_chain(subs: &Subs, left: Variable, right: Variable) -> impl Iterator<Ite
|
|||
subs.get_subs_slice(*left_sym),
|
||||
subs.get_subs_slice(*right_sym)
|
||||
);
|
||||
let mut chain = help(subs, needle, *left_var, *right_var)?;
|
||||
let mut chain = help(subs, needle, left_var.var(), right_var.var())?;
|
||||
chain.push((left, right));
|
||||
Ok(chain)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue