mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
remove ATTR_ATTR usage
This commit is contained in:
parent
fa7dec2997
commit
62da85cc06
7 changed files with 37 additions and 265 deletions
|
@ -823,7 +823,6 @@ fn count_arguments(tipe: &ErrorType) -> usize {
|
|||
|
||||
match tipe {
|
||||
Function(args, _, _) => args.len(),
|
||||
Type(Symbol::ATTR_ATTR, args) => count_arguments(&args[1]),
|
||||
Alias(_, _, actual) => count_arguments(actual),
|
||||
_ => 0,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue