mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
remove ATTR_ATTR usage
This commit is contained in:
parent
fa7dec2997
commit
62da85cc06
7 changed files with 37 additions and 265 deletions
|
@ -704,7 +704,6 @@ fn unify_tag_union_not_recursive_recursive(
|
|||
fn is_structure(var: Variable, subs: &mut Subs) -> bool {
|
||||
match subs.get(var).content {
|
||||
Content::Alias(_, _, actual) => is_structure(actual, subs),
|
||||
Content::Structure(FlatType::Apply(Symbol::ATTR_ATTR, args)) => is_structure(args[1], subs),
|
||||
Content::Structure(_) => true,
|
||||
_ => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue