Skip to content
Snippets Groups Projects
Commit 67e30baf authored by Régis Blanc's avatar Régis Blanc
Browse files

fix a bug with pretty printer of match in scala format

parent c8c767a7
No related branches found
No related tags found
No related merge requests found
......@@ -349,6 +349,7 @@ object ScalaPrinter {
}
var nsb = sb
nsb.append("(")
nsb == pp(s, nsb, lvl)
// if(mex.posInfo != "") {
// nsb.append(" match@(" + mex.posInfo + ") {\n")
......@@ -369,6 +370,7 @@ object ScalaPrinter {
nsb.append("\n")
})
ind(nsb, lvl).append("}")
nsb.append(")")
nsb
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment