diff --git a/compiler/src/dotty/tools/dotc/transform/localopt/Simplify.scala b/compiler/src/dotty/tools/dotc/transform/localopt/Simplify.scala index c8fc99ff6322..b1ce5ef36c6f 100644 --- a/compiler/src/dotty/tools/dotc/transform/localopt/Simplify.scala +++ b/compiler/src/dotty/tools/dotc/transform/localopt/Simplify.scala @@ -62,6 +62,7 @@ class Simplify extends MiniPhaseTransform with IdentityDenotTransformer { new Devalify :: new Jumpjump :: new DropGoodCasts :: + new DropNoEffects(this) :: new ConstantFold(this) :: Nil