Allow direct packing, unpacking of erased types

This commit is contained in:
Ayaz Hafiz 2023-07-02 13:17:44 -05:00
parent 1d1db83cc7
commit cd64134b0a
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 296 additions and 185 deletions

View file

@ -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(")")
}