Skip to content

Commit 297183c

Browse files
committed
Lint MegaPhase after ExtractSemanticDB
1 parent 10c9af0 commit 297183c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ 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, new CheckShadowing) :: // Check for unused elements and shadowing elements
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) :: // Extract info into .semanticdb files
41+
List(new CheckUnused.PostTyper, new CheckShadowing) :: // Check for unused elements and shadowing elements
4242
List(new PostTyper) :: // Additional checks and cleanups after type checking
4343
List(new sjs.PrepJSInterop) :: // Additional checks and transformations for Scala.js (Scala.js only)
4444
List(new sbt.ExtractAPI) :: // Sends a representation of the API of classes to sbt via callbacks

0 commit comments

Comments
 (0)