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 4bbd5b3 commit 55a7d78Copy full SHA for 55a7d78
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -1523,7 +1523,7 @@ object Parsers {
1523
if MigrationVersion.Scala2to3.needsPatch then
1524
patch(source, Span(in.offset), " ")
1525
1526
- def possibleTemplateStart(isNew: Boolean=false): Unit =
+ def possibleTemplateStart(): Unit =
1527
in.observeColonEOL(inTemplate = true)
1528
if in.token == COLONeol then
1529
if in.lookahead.token == END then in.token = NEWLINE
@@ -2866,7 +2866,7 @@ object Parsers {
2866
val parents =
2867
if in.isNestedStart then Nil
2868
else constrApps(exclude = COMMA)
2869
- possibleTemplateStart(isNew =true)
+ possibleTemplateStart()
2870
parents match {
2871
case parent :: Nil if !in.isNestedStart =>
2872
reposition(if (parent.isType) ensureApplied(wrapNew(parent)) else parent)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments