File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class ExpandPrivate extends MiniPhaseTransform with IdentityDenotTransformer { t
44
44
// This phase moves methods around (in infotransform) so it may need to make other methods public
45
45
override def runsAfter : Set [Class [_ <: Phase ]] = Set (classOf [MoveStatics ])
46
46
47
- override def changesMembers = true
47
+ override def changesMembers = true // the phase introduces new members with mangled names
48
48
49
49
override def checkPostCondition (tree : Tree )(implicit ctx : Context ): Unit = {
50
50
tree match {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
49
49
50
50
override def runsAfterGroupsOf = Set (classOf [FirstTransform ]) // need companion objects to exist
51
51
52
- override def changesMembers = true // the pahse adds extension methods
52
+ override def changesMembers = true // the phase adds extension methods
53
53
54
54
override def transform (ref : SingleDenotation )(implicit ctx : Context ): SingleDenotation = ref match {
55
55
case moduleClassSym : ClassDenotation if moduleClassSym is ModuleClass =>
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RestoreScopes extends MiniPhaseTransform with IdentityDenotTransformer { t
22
22
import ast .tpd ._
23
23
override def phaseName = " restoreScopes"
24
24
25
- override def changesMembers = true
25
+ override def changesMembers = true // the phase affects scopes, applying tree transformations of previous phases
26
26
27
27
/* Note: We need to wait until we see a package definition because
28
28
* DropEmptyConstructors changes template members when analyzing the
You can’t perform that action at this time.
0 commit comments