Skip to content

Commit 754a552

Browse files
authored
Merge pull request #8030 from dotty-staging/fix-analyzer-plugin
Fix analyzer-plugin scripted test
2 parents 030d95e + dd93ad3 commit 754a552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt-dotty/sbt-test/sbt-dotty/analyzer-plugin/plugin/Analyzer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Decorators._
1313
import Symbols.Symbol
1414
import Constants.Constant
1515
import Types._
16-
import transform.{CheckStatic}
16+
import transform.CompleteJavaEnums
1717

1818
class InitPlugin extends StandardPlugin {
1919
import tpd._
@@ -30,7 +30,7 @@ class InitChecker extends PluginPhase {
3030
val phaseName = "symbolTreeChecker"
3131

3232
override val runsAfter = Set(SetDefTree.name)
33-
override val runsBefore = Set(CheckStatic.name)
33+
override val runsBefore = Set(CompleteJavaEnums.name)
3434

3535
private def checkDef(tree: Tree)(implicit ctx: Context): Tree = {
3636
if (tree.symbol.defTree.isEmpty)

0 commit comments

Comments
 (0)