blob: da467e27ea32a417fdfedacec92b03a023ebdcc1 (
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 } = (C,C)
scala>
scala>
|