aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index 461ef2f17..e3c73fdb3 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -334,7 +334,7 @@ object Denotations {
} else {
// not found, current points to highest existing variant
var startPid = current.validFor.lastPhaseId + 1
- val trans = ctx.root.transformersFor(current)
+ val trans = ctx.transformersFor(current)
val endPid = trans.nextTransformer(startPid + 1).phaseId - 1
next = trans.nextTransformer(startPid) transform current
if (next eq current)