mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Allow direct packing, unpacking of erased types
This commit is contained in:
parent
1d1db83cc7
commit
cd64134b0a
6 changed files with 296 additions and 185 deletions
|
@ -722,9 +722,9 @@ impl<'a> FunctionPointer<'a> {
|
|||
let ret = interner.to_doc(ret, alloc, seen_rec, parens);
|
||||
|
||||
alloc
|
||||
.text("FunPtr(")
|
||||
.text("FunPtr((")
|
||||
.append(args)
|
||||
.append(alloc.text(" -> "))
|
||||
.append(alloc.text(") -> "))
|
||||
.append(ret)
|
||||
.append(")")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue