mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Another clip bites the clip
This commit is contained in:
parent
b777b88e1c
commit
b2ff785a5e
1 changed files with 2 additions and 1 deletions
|
@ -1987,6 +1987,7 @@ fn constrain_field_update(
|
|||
(var, field_type, con)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn constrain_tag(
|
||||
constraints: &mut Constraints,
|
||||
env: &Env,
|
||||
|
@ -2023,7 +2024,7 @@ fn constrain_tag(
|
|||
vec![(name.clone(), types)],
|
||||
TypeExtension::from_type(Type::Variable(ext_var)),
|
||||
),
|
||||
expected.clone(),
|
||||
expected,
|
||||
Category::TagApply {
|
||||
tag_name: name.clone(),
|
||||
args_count: arguments.len(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue