Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstucki committed Nov 2, 2023
1 parent 9888e2e commit e06022f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions compiler/src/dotty/tools/dotc/parsing/Parsers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2973,12 +2973,6 @@ object Parsers {
case p =>
p

private def warnStarMigration(p: Tree) =
report.errorOrMigrationWarning(
em"The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead",
in.sourcePos(startOffset(p)),
from = future)

/** InfixPattern ::= SimplePattern {id [nl] SimplePattern}
*/
def infixPattern(): Tree =
Expand Down

0 comments on commit e06022f

Please sign in to comment.