Skip to content

Commit 62705f1

Browse files
committed
Put braces back around cases in match
1 parent 51358f3 commit 62705f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,7 @@ object Parsers {
18531853
def matchExpr(t: Tree, start: Offset, mkMatch: (Tree, List[CaseDef]) => Match) =
18541854
indentRegion(MATCH) {
18551855
atSpan(start, in.skipToken()) {
1856-
inBracesOrIndented(mkMatch(t, caseClauses(caseClause)))
1856+
mkMatch(t, inBracesOrIndented(caseClauses(caseClause)))
18571857
}
18581858
}
18591859

0 commit comments

Comments
 (0)