Skip to content

Commit 3f2ff0c

Browse files
committed
Polish docs
1 parent 51aebce commit 3f2ff0c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ExpandPrivate extends MiniPhaseTransform with IdentityDenotTransformer { t
4444
// This phase moves methods around (in infotransform) so it may need to make other methods public
4545
override def runsAfter: Set[Class[_ <: Phase]] = Set(classOf[MoveStatics])
4646

47-
override def changesMembers = true
47+
override def changesMembers = true // the phase introduces new members with mangled names
4848

4949
override def checkPostCondition(tree: Tree)(implicit ctx: Context): Unit = {
5050
tree match {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
4949

5050
override def runsAfterGroupsOf = Set(classOf[FirstTransform]) // need companion objects to exist
5151

52-
override def changesMembers = true // the pahse adds extension methods
52+
override def changesMembers = true // the phase adds extension methods
5353

5454
override def transform(ref: SingleDenotation)(implicit ctx: Context): SingleDenotation = ref match {
5555
case moduleClassSym: ClassDenotation if moduleClassSym is ModuleClass =>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RestoreScopes extends MiniPhaseTransform with IdentityDenotTransformer { t
2222
import ast.tpd._
2323
override def phaseName = "restoreScopes"
2424

25-
override def changesMembers = true
25+
override def changesMembers = true // the phase affects scopes, applying tree transformations of previous phases
2626

2727
/* Note: We need to wait until we see a package definition because
2828
* DropEmptyConstructors changes template members when analyzing the

0 commit comments

Comments
 (0)