Skip to content

Commit 9dcd977

Browse files
committed
Make elim opaque transform declare that it changes base types
1 parent 207c380 commit 9dcd977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/transform/FirstTransform.scala

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class FirstTransform extends MiniPhase with SymTransformer { thisPhase =>
4242
import ast.tpd._
4343

4444
override def phaseName: String = FirstTransform.name
45+
override def changesParents: Boolean = true // the phase drops Any
4546

4647
/** Two transforms:
4748
* 1. eliminate self symbol in ClassInfo

0 commit comments

Comments
 (0)