blob: b94da0c9d845243e8f80ad6a1076a7fc0d357b11 (
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 with Object{def f: Int}) forSome { type C <: Object } = (C,C)
scala>
scala>
|