Skip to content

Commit 4c9bdf0

Browse files
committed
documentation: fix tokens that can start indentation region
1 parent bcaa1ca commit 4c9bdf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ object Scanners {
523523
*
524524
* The following tokens can start an indentation region:
525525
*
526-
* : = => <- if then else while do try catch finally for yield match
526+
* : = => <- if then else while do try catch
527+
* finally for yield match throw return with
527528
*
528529
* Inserting an INDENT starts a new indentation region with the indentation of the current
529530
* token as indentation width.

0 commit comments

Comments
 (0)