mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Tag with no args in error msgs (#471)
This commit is contained in:
parent
9170f126ac
commit
f319fdad79
4 changed files with 45 additions and 6 deletions
|
@ -758,7 +758,10 @@ pub fn constrain_expr(
|
|||
Box::new(Type::Variable(*ext_var)),
|
||||
),
|
||||
expected.clone(),
|
||||
Category::TagApply(name.clone()),
|
||||
Category::TagApply {
|
||||
tag_name: name.clone(),
|
||||
args_count: arguments.len(),
|
||||
},
|
||||
region,
|
||||
);
|
||||
let ast_con = Eq(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue