aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t7045.scala
blob: 330fa7fc6fabcb2f40c7514902fd4bbd33d52e7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}

class C
class D { self: C => }

object Test extends dotty.runtime.LegacyApp {
  val d = cm.staticClass("D")
  println(d.selfType)
  d.info
  println(d.selfType)
}