mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +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()),
|
||||
// TODO add spaces between args
|
||||
args.iter()
|
||||
.map(|arg| to_doc(alloc, Parens::Unnecessary, arg.clone()))
|
||||
.map(|arg| to_doc(alloc, Parens::InTypeParam, arg.clone()))
|
||||
.collect(),
|
||||
)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue