We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6720ae6 commit 253876cCopy full SHA for 253876c
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -807,7 +807,7 @@ object Parsers {
807
/** When rewriting to indent, make sure there is an indent after a `=>\n` */
808
def indentedRegionAfterArrow[T](body: => T, inCaseDef: Boolean = false): T =
809
if in.rewriteToIndent && (inCaseDef || in.isAfterLineEnd) then
810
- assert(in.last.isArrow || in.last.token == SELFARROW)
+ // assert(in.last.isArrow || in.last.token == SELFARROW)
811
toIndentedRegion(body)
812
else body
813
0 commit comments