Pretty print table destructors

This commit is contained in:
Joscha 2022-11-21 00:07:57 +01:00
parent c7fc8584ff
commit e7416fbc1e
3 changed files with 53 additions and 1 deletions

View file

@ -30,7 +30,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Expr {
Self::Field(field) => field.pretty(allocator),
Self::Var(var) => var.pretty(allocator),
Self::TableConstr(constr) => constr.pretty(allocator),
Self::TableDestr(destr) => allocator.text("<destr>"),
Self::TableDestr(destr) => destr.pretty(allocator),
Self::FuncDef(def) => allocator.text("<def>"),
Self::Paren {
s0,