mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
tag arguments are in InTypeParam position
This commit is contained in:
parent
9227464de8
commit
1126957739
1 changed files with 1 additions and 1 deletions
|
@ -1891,7 +1891,7 @@ fn diff_tag_union<'b>(
|
||||||
alloc.tag_name(field.clone()),
|
alloc.tag_name(field.clone()),
|
||||||
// TODO add spaces between args
|
// TODO add spaces between args
|
||||||
args.iter()
|
args.iter()
|
||||||
.map(|arg| to_doc(alloc, Parens::Unnecessary, arg.clone()))
|
.map(|arg| to_doc(alloc, Parens::InTypeParam, arg.clone()))
|
||||||
.collect(),
|
.collect(),
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue