blob: 95e3eb950d538d01aa5bde749d71d934678b26d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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 <: Object with ScalaObject } = (C,C)
scala>
scala>
|