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 857c874 commit 46b25f5Copy full SHA for 46b25f5
compiler/src/dotty/tools/dotc/parsing/Scanners.scala
@@ -555,7 +555,7 @@ object Scanners {
555
token = INDENT
556
end observeIndented
557
558
- /** Insert an <outdent> token if next token is in statCtdTokens */
+ /** Insert an <outdent> token if next token closes an indentation region */
559
def observeOutdented(): Unit = currentRegion match
560
case r: Indented if !r.isOutermost && closingRegionTokens.contains(token) =>
561
currentRegion = r.enclosing
0 commit comments