Skip to content

Commit

Permalink
Make elim opaque transform declare that it changes base types
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Oct 15, 2018
1 parent 207c380 commit 9dcd977
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class FirstTransform extends MiniPhase with SymTransformer { thisPhase =>
import ast.tpd._

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

/** Two transforms:
* 1. eliminate self symbol in ClassInfo
Expand Down

0 comments on commit 9dcd977

Please sign in to comment.