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 {
1523
1523
if MigrationVersion .Scala2to3 .needsPatch then
1524
1524
patch(source, Span (in.offset), " " )
1525
1525
1526
- def possibleTemplateStart (isNew : Boolean = false ): Unit =
1526
+ def possibleTemplateStart (): Unit =
1527
1527
in.observeColonEOL(inTemplate = true )
1528
1528
if in.token == COLONeol then
1529
1529
if in.lookahead.token == END then in.token = NEWLINE
@@ -2866,7 +2866,7 @@ object Parsers {
2866
2866
val parents =
2867
2867
if in.isNestedStart then Nil
2868
2868
else constrApps(exclude = COMMA )
2869
- possibleTemplateStart(isNew = true )
2869
+ possibleTemplateStart()
2870
2870
parents match {
2871
2871
case parent :: Nil if ! in.isNestedStart =>
2872
2872
reposition(if (parent.isType) ensureApplied(wrapNew(parent)) else parent)
You can’t perform that action at this time.
0 commit comments