blob: e5e12ae8a75a5de09f2b4515b347270121cedf25 (
plain) (
tree)
|
|
trait A
trait B extends A
class C extends A with B
object Test extends dotty.runtime.LegacyApp {
val c = classOf[C]
println(c.getGenericInterfaces.toList)
assert(c.getGenericInterfaces.length == c.getInterfaces.length,
s"mismatch between ${c.getGenericInterfaces} and ${c.getInterfaces}")
}
|