Pretty print function definitions
This commit is contained in:
parent
c45a45f0b6
commit
b3eaa40902
3 changed files with 100 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Expr {
|
|||
Self::Var(var) => var.pretty(allocator),
|
||||
Self::TableConstr(constr) => constr.pretty(allocator),
|
||||
Self::TableDestr(destr) => destr.pretty(allocator),
|
||||
Self::FuncDef(def) => allocator.text("<def>"),
|
||||
Self::FuncDef(def) => def.pretty(allocator),
|
||||
Self::Paren {
|
||||
s0,
|
||||
inner,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue