Skip to content

Commit 55a7d78

Browse files
committed
Unused param due to revert
1 parent 4bbd5b3 commit 55a7d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)