Skip to content
Snippets Groups Projects
Commit dca86959 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Don't print excessive braces

parent 78470af4
No related branches found
No related tags found
No related merge requests found
......@@ -556,6 +556,8 @@ class PrettyPrinter(opts: PrinterOptions,
case Let(_, _, bd) => Seq(bd)
case LetDef(_, bd) => Seq(bd)
case Require(_, bd) => Seq(bd)
case IfExpr(_, t, e) => Seq(t, e) // If always has braces anyway
case Ensuring(_, pred) => Seq(pred)
case _ => Seq()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment