File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/dotty/tools/dotc/transform Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ class FirstTransform extends MiniPhaseTransform with IdentityDenotTransformer wi
35
35
36
36
override def phaseName = " firstTransform"
37
37
38
-
39
38
def transformInfo (tp : Type , sym : Symbol )(implicit ctx : Context ): Type = tp
40
39
41
40
override def checkPostCondition (tree : Tree )(implicit ctx : Context ): Unit = tree match {
Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ object TreeTransforms {
177
177
trait AnnotationTransformer extends MiniPhaseTransform with InfoTransformer {
178
178
179
179
val annotationTransformer = mkTreeTransformer
180
+ override final def treeTransformPhase = this
181
+ // need to run at own phase because otherwise we get ahead of ourselves in transforming denotations
180
182
181
183
override def transform (ref : SingleDenotation )(implicit ctx : Context ): SingleDenotation = {
182
184
val info1 = transformInfo(ref.info, ref.symbol)
You can’t perform that action at this time.
0 commit comments