blob: b1073325e8789fb0df2c92ba040814747a5ab741 (
plain) (
blame)
1
2
3
4
5
6
|
trait A
trait B
object Test extends A with B with App {
val is = Test.getClass.getInterfaces.mkString(", ")
assert(is == "interface A, interface B, interface scala.App", is)
}
|