Skip to content

Commit

Permalink
julefmt: update to new map syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Apr 27, 2024
1 parent 9d2e7bd commit c66d622
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/format.jule
Original file line number Diff line number Diff line change
Expand Up @@ -1013,9 +1013,8 @@ impl TypeFormatter {
fn map(self, mut map: &ast::MapTypeDecl) {
self.write("[")
self.format(map.key.kind)
self.write(":")
self.write("]:")
self.format(map.val.kind)
self.write("]")
}

fn result(self, mut r: &ast::RetTypeDecl) {
Expand Down

0 comments on commit c66d622

Please sign in to comment.