aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/InterceptedMethods.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/transform/InterceptedMethods.scala')
-rw-r--r--src/dotty/tools/dotc/transform/InterceptedMethods.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/InterceptedMethods.scala b/src/dotty/tools/dotc/transform/InterceptedMethods.scala
index c4f5d4dac..cfdb0af0c 100644
--- a/src/dotty/tools/dotc/transform/InterceptedMethods.scala
+++ b/src/dotty/tools/dotc/transform/InterceptedMethods.scala
@@ -40,11 +40,12 @@ import StdNames._
* using the most precise overload available
* - `x.getClass` for getClass in primitives becomes `x.getClass` with getClass in class Object.
*/
-class InterceptedMethods extends MiniPhaseTransform {
+class InterceptedMethods extends MiniPhaseTransform { thisTransform =>
import tpd._
override def phaseName: String = "intercepted"
+ override def treeTransformPhase = thisTransform.next
private var getClassMethods: Set[Symbol] = _
private var poundPoundMethods: Set[Symbol] = _