Skip to content

Commit 80d9e0e

Browse files
committed
Change name of DropEmptyCompanions from dropEmpty to dropEmptyCompanions
dropEmpty is not as clear, as it does not indicate what it drops. Additionally makes phaseName by in sync with class name.
1 parent 8088a59 commit 80d9e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/transform/DropEmptyCompanions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import dotty.tools.dotc.transform.TreeTransforms.TransformerInfo
3030
*/
3131
class DropEmptyCompanions extends MiniPhaseTransform { thisTransform =>
3232
import ast.tpd._
33-
override def phaseName = "dropEmpty"
33+
override def phaseName = "dropEmptyCompanions"
3434
override def runsAfter: Set[Class[_ <: Phase]] = Set(classOf[Flatten])
3535

3636
override def transformPackageDef(pdef: PackageDef)(implicit ctx: Context, info: TransformerInfo) = {

0 commit comments

Comments
 (0)