Skip to content

Commit b6bcbf0

Browse files
committed
Merge linting phases
1 parent b2cd869 commit b6bcbf0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/Compiler.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ class Compiler {
3535
protected def frontendPhases: List[List[Phase]] =
3636
List(new Parser) :: // Compiler frontend: scanner, parser
3737
List(new TyperPhase) :: // Compiler frontend: namer, typer
38-
List(new CheckUnused.PostTyper) :: // Check for unused elements
39-
List(new CheckShadowing) :: // Check shadowing elements
38+
List(new CheckUnused.PostTyper, new CheckShadowing) :: // Check for unused elements
4039
List(new YCheckPositions) :: // YCheck positions
4140
List(new sbt.ExtractDependencies) :: // Sends information on classes' dependencies to sbt via callbacks
4241
List(new semanticdb.ExtractSemanticDB.ExtractSemanticInfo) :: // Extract info into .semanticdb files

0 commit comments

Comments
 (0)