blob: 4bb963baa993d53eddffd44d37235ab065fdad13 (
plain) (
tree)
|
|
Type in expressions to have them evaluated.
Type :help for more information.
scala>
scala> val c = { class C { override def toString = "C" }; ((new C, new C { def f = 2 })) }
c: (C, C{def f: Int}) forSome { type C <: java.lang.Object with ScalaObject } = (C,C)
scala>
scala>
|