File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/parsing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1523,7 +1523,7 @@ object Parsers {
15231523 if MigrationVersion .Scala2to3 .needsPatch then
15241524 patch(source, Span (in.offset), " " )
15251525
1526- def possibleTemplateStart (isNew : Boolean = false ): Unit =
1526+ def possibleTemplateStart (): Unit =
15271527 in.observeColonEOL(inTemplate = true )
15281528 if in.token == COLONeol then
15291529 if in.lookahead.token == END then in.token = NEWLINE
@@ -2866,7 +2866,7 @@ object Parsers {
28662866 val parents =
28672867 if in.isNestedStart then Nil
28682868 else constrApps(exclude = COMMA )
2869- possibleTemplateStart(isNew = true )
2869+ possibleTemplateStart()
28702870 parents match {
28712871 case parent :: Nil if ! in.isNestedStart =>
28722872 reposition(if (parent.isType) ensureApplied(wrapNew(parent)) else parent)
You can’t perform that action at this time.
0 commit comments