Skip to content

Commit 7aa71f0

Browse files
Merge pull request #3160 from dotty-staging/enable-drop-no-effects
Re-enable DropNoEffects after erasure
2 parents 3e95734 + 34cd9c1 commit 7aa71f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/transform/localopt/Simplify.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Simplify extends MiniPhaseTransform with IdentityDenotTransformer {
6262
new Devalify ::
6363
new Jumpjump ::
6464
new DropGoodCasts ::
65+
new DropNoEffects(this) ::
6566
new ConstantFold(this) ::
6667
Nil
6768

0 commit comments

Comments
 (0)