mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
de-alias same symbol with different layouts in borrow inference
This commit is contained in:
parent
418be685ad
commit
0b6975fa77
4 changed files with 76 additions and 48 deletions
|
@ -79,7 +79,7 @@ impl<'a> UnionLayout<'a> {
|
|||
let tags_doc = tags.iter().map(|fields| {
|
||||
alloc.text("C ").append(alloc.intersperse(
|
||||
fields.iter().map(|x| x.to_doc(alloc, Parens::InTypeParam)),
|
||||
", ",
|
||||
" ",
|
||||
))
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue