mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
fix accidentally remove line
This commit is contained in:
parent
4806dc378f
commit
628f14fa7b
1 changed files with 2 additions and 0 deletions
|
@ -357,6 +357,7 @@ fn subs_fmt_desc(this: &Descriptor, subs: &Subs, f: &mut fmt::Formatter) -> fmt:
|
|||
write!(f, " m: {:?}", &this.mark)?;
|
||||
write!(f, " c: {:?}", &this.copy)
|
||||
}
|
||||
//
|
||||
|
||||
pub struct SubsFmtContent<'a>(pub &'a Content, pub &'a Subs);
|
||||
|
||||
|
@ -2448,6 +2449,7 @@ fn occurs(
|
|||
}
|
||||
Alias(_, args, _, _) => {
|
||||
let mut new_seen = seen.to_owned();
|
||||
new_seen.push(root_var);
|
||||
|
||||
for var_index in args.into_iter() {
|
||||
let var = subs[var_index];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue