Skip to content

Commit 529b13f

Browse files
committed
Fixed pretty printing of explicit maps
1 parent 2049575 commit 529b13f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/viper/silver/ast/pretty/PrettyPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ object FastPrettyPrinter extends FastPrettyPrinterBase with BracketPrettyPrinter
833833
case ExplicitMap(elems) =>
834834
text("Map") <> parens(ssep(elems map show, char(',') <> space))
835835
case Maplet(key, value) =>
836-
text("Map") <> parens(show(key) <+> ":=" <+> show(value))
836+
show(key) <+> ":=" <+> show(value)
837837
case MapLookup(base, key) =>
838838
show(base) <> brackets(show(key))
839839
case MapContains(key, base) =>

0 commit comments

Comments
 (0)