Skip to content

Commit 956d0c1

Browse files
Update compiler/src/dotty/tools/dotc/parsing/Scanners.scala
1 parent 3ea82b0 commit 956d0c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ object Scanners {
472472
|| nextWidth == lastWidth && (indentPrefix == MATCH || indentPrefix == CATCH) && token != CASE then
473473
if currentRegion.isOutermost then
474474
if nextWidth < lastWidth then currentRegion = topLevelRegion(nextWidth)
475-
// report.error("Line is indented too far to the left", sourcePos())
476475
else if !isLeadingInfixOperator() && !statCtdTokens.contains(lastToken) then
477476
currentRegion match
478477
case r: Indented =>

0 commit comments

Comments
 (0)