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

Stop printing one-case matches differently

parent bcc2e06e
No related branches found
No related tags found
No related merge requests found
......@@ -340,7 +340,7 @@ class PrettyPrinter(opts: PrinterOptions,
|}"""
}
case LetPattern(p,s,rhs) =>
/*case LetPattern(p,s,rhs) =>
if (isSimpleExpr(s)) {
p"""|val $p = $s
|$rhs"""
......@@ -350,7 +350,7 @@ class PrettyPrinter(opts: PrinterOptions,
|}
|$rhs"""
}
*/
case MatchExpr(s, csc) =>
optP {
p"""|$s match {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment