Skip to content

Commit dd93ad3

Browse files
committed
Fix analyzer-plugin scripted test
This was broken after the CheckStatic phase was moved in f6f3b28, it would be nice to make this more robust but I don't know how.
1 parent 030d95e commit dd93ad3

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)