Skip to content

Commit 2d182de

Browse files
committed
Merge linting phases
1 parent 7f803ec commit 2d182de

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
@@ -34,8 +34,7 @@ class Compiler {
3434
protected def frontendPhases: List[List[Phase]] =
3535
List(new Parser) :: // Compiler frontend: scanner, parser
3636
List(new TyperPhase) :: // Compiler frontend: namer, typer
37-
List(new CheckUnused.PostTyper) :: // Check for unused elements
38-
List(new CheckShadowing) :: // Check shadowing elements
37+
List(new CheckUnused.PostTyper, new CheckShadowing) :: // Linting phases
3938
List(new YCheckPositions) :: // YCheck positions
4039
List(new sbt.ExtractDependencies) :: // Sends information on classes' dependencies to sbt via callbacks
4140
List(new semanticdb.ExtractSemanticDB.ExtractSemanticInfo) :: // Extract info into .semanticdb files

0 commit comments

Comments
 (0)