@@ -26,7 +26,7 @@ object PostTyper {
26
26
* field (corresponding = super class field is initialized with subclass field)
27
27
* (@see ForwardParamAccessors)
28
28
*
29
- * (3) Add synthetic methods (@see SyntheticMethods )
29
+ * (3) Add synthetic members (@see SyntheticMembers )
30
30
*
31
31
* (4) Check that `New` nodes can be instantiated, and that annotations are valid
32
32
*
@@ -64,7 +64,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
64
64
case _ =>
65
65
}
66
66
67
- override def changesMembers : Boolean = true // the phase adds super accessors and synthetic methods
67
+ override def changesMembers : Boolean = true // the phase adds super accessors and synthetic members
68
68
69
69
override def transformPhase (implicit ctx : Context ): Phase = thisPhase.next
70
70
@@ -73,7 +73,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
73
73
74
74
val superAcc : SuperAccessors = new SuperAccessors (thisPhase)
75
75
val paramFwd : ParamForwarding = new ParamForwarding (thisPhase)
76
- val synthMth : SyntheticMethods = new SyntheticMethods (thisPhase)
76
+ val synthMbr : SyntheticMembers = new SyntheticMembers (thisPhase)
77
77
78
78
private def newPart (tree : Tree ): Option [New ] = methPart(tree) match {
79
79
case Select (nu : New , _) => Some (nu)
@@ -230,7 +230,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
230
230
case tree : Template =>
231
231
withNoCheckNews(tree.parents.flatMap(newPart)) {
232
232
val templ1 = paramFwd.forwardParamAccessors(tree)
233
- synthMth.addSyntheticMethods (
233
+ synthMbr.addSyntheticMembers (
234
234
superAcc.wrapTemplate(templ1)(
235
235
super .transform(_).asInstanceOf [Template ]))
236
236
}
0 commit comments