blob: aa605a6d0902dc56913136f1407d57f67dd108a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
object O
{
def d(t: Top) = t match {
case s: Sub => true
case _ => false
}
def main(args: Array[String]): Unit = {
val c = new AnyRef with C
c.bob.toString + c.bob2.toString
}
}
|