Pretty print table constructors
This commit is contained in:
parent
412eaffc07
commit
fc139c31f4
3 changed files with 44 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Expr {
|
|||
Self::Call(call) => allocator.text("<call>"),
|
||||
Self::Field(field) => allocator.text("<field>"),
|
||||
Self::Var(var) => allocator.text("<var>"),
|
||||
Self::TableConstr(constr) => allocator.text("<constr>"),
|
||||
Self::TableConstr(constr) => constr.pretty(allocator),
|
||||
Self::TableDestr(destr) => allocator.text("<destr>"),
|
||||
Self::FuncDef(def) => allocator.text("<def>"),
|
||||
Self::Paren {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue