Pretty print numeric literals

This commit is contained in:
Joscha 2022-11-20 22:59:14 +01:00
parent 7833ef533d
commit e6bbb37323
2 changed files with 9 additions and 3 deletions

View file

@ -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("<onstr>"),
Self::TableConstr(constr) => allocator.text("<constr>"),
Self::TableDestr(destr) => allocator.text("<destr>"),
Self::FuncDef(def) => allocator.text("<def>"),
Self::Paren {