We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba9db4e commit 36c229bCopy full SHA for 36c229b
src/dotty/tools/dotc/transform/ExtensionMethods.scala
@@ -30,6 +30,8 @@ class ExtensionMethods extends MiniPhaseTransform with DenotTransformer with Ful
30
override def phaseName: String = "extmethods"
31
32
override def runsAfter: Set[Class[_ <: Phase]] = Set(classOf[ElimRepeated])
33
+
34
+ override def runsAfterGroupsOf = Set(classOf[FirstTransform]) // need companion objects to exist
35
36
override def transform(ref: SingleDenotation)(implicit ctx: Context): SingleDenotation = ref match {
37
case ref: ClassDenotation if ref is ModuleClass =>
0 commit comments