Skip to content

Commit

Permalink
Update analyzer plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Jan 20, 2022
1 parent c3b37fd commit 5deb2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbt-test/sbt-dotty/analyzer-plugin/plugin/Analyzer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class InitChecker extends PluginPhase {
val phaseName = "symbolTreeChecker"

override val runsAfter = Set(SetDefTree.name)
override val runsBefore = Set(ElimRepeated.name)
override val runsBefore = Set(ProtectedAccessors.name)

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

0 comments on commit 5deb2de

Please sign in to comment.